From 7d9e108ba3629b2e9120bc1da3354935c41aca37 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 2 Aug 2024 18:23:36 +0200 Subject: WIP: more hacks. --- test/sound_asset_writer_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/sound_asset_writer_test.cc') 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::functionget(channel, sample), dist(rng)); + BOOST_REQUIRE_EQUAL(frame.get(channel, sample), dist(rng)); } } } @@ -135,13 +135,13 @@ padding_test(boost::filesystem::path path, std::functionget(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); } } } -- cgit v1.2.3