diff options
Diffstat (limited to 'test/sound_asset_writer_test.cc')
| -rw-r--r-- | test/sound_asset_writer_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sound_asset_writer_test.cc b/test/sound_asset_writer_test.cc index d5a66489..ee70c80c 100644 --- a/test/sound_asset_writer_test.cc +++ b/test/sound_asset_writer_test.cc @@ -64,7 +64,7 @@ no_padding_test(boost::filesystem::path path, std::function<void (shared_ptr<dcp for (auto channel = 0; channel < 6; ++channel) { for (auto sample = 0; sample < 2000; ++sample) { - BOOST_REQUIRE_EQUAL(frame->get(channel, sample), dist(rng)); + BOOST_REQUIRE_EQUAL(frame.get(channel, sample), dist(rng)); } } } @@ -135,13 +135,13 @@ padding_test(boost::filesystem::path path, std::function<void (shared_ptr<dcp::S for (auto channel = 0; channel < 6; ++channel) { for (auto sample = 0; sample < 2000; ++sample) { - BOOST_REQUIRE_EQUAL(frame->get(channel, sample), dist(rng)); + BOOST_REQUIRE_EQUAL(frame.get(channel, sample), dist(rng)); } } for (auto channel = 7; channel < 14; ++channel) { for (auto sample = 0; sample < 2000; ++sample) { - BOOST_REQUIRE_EQUAL(frame->get(channel, sample), 0); + BOOST_REQUIRE_EQUAL(frame.get(channel, sample), 0); } } } |
