diff options
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); |
