diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-14 20:04:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-14 20:04:15 +0000 |
| commit | 05c37b9bb09f7bfa4c2ec8ea6b3fa4a83d0fec20 (patch) | |
| tree | fa7a3e408c2eb66b070864694b6af7e0787e508f /test/test.cc | |
| parent | 5161626c3c28ba528511a8b211286a5e81a0f02a (diff) | |
Tests pass again.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test.cc b/test/test.cc index 423501296..89a56872b 100644 --- a/test/test.cc +++ b/test/test.cc @@ -520,11 +520,12 @@ BOOST_AUTO_TEST_CASE (job_manager_test) BOOST_AUTO_TEST_CASE (stream_test) { - AudioStream a ("4 9 hello there world"); + AudioStream a ("4 44100 1 hello there world"); BOOST_CHECK_EQUAL (a.id(), 4); - BOOST_CHECK_EQUAL (a.channels(), 9); + BOOST_CHECK_EQUAL (a.sample_rate(), 44100); + BOOST_CHECK_EQUAL (a.channel_layout(), 1); BOOST_CHECK_EQUAL (a.name(), "hello there world"); - BOOST_CHECK_EQUAL (a.to_string(), "4 9 hello there world"); + BOOST_CHECK_EQUAL (a.to_string(), "4 44100 1 hello there world"); SubtitleStream s ("5 a b c"); BOOST_CHECK_EQUAL (s.id(), 5); |
