From dd344394c0831453ec66298a99414deb56db9d3d Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sun, 24 Mar 2024 22:56:37 +0100 Subject: codec: Debugging --- modules/codec/tests/forst.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'modules/codec/tests/forst.cpp') diff --git a/modules/codec/tests/forst.cpp b/modules/codec/tests/forst.cpp index cb0442d..96c4dd0 100644 --- a/modules/codec/tests/forst.cpp +++ b/modules/codec/tests/forst.cpp @@ -21,9 +21,18 @@ using TestArray = Array< SAW_TEST("Codec Forst Info"){ using namespace saw; - SAW_EXPECT(impl::forst_codec_info::layers == 0, "Layer info is wrong"); - SAW_EXPECT(impl::forst_codec_info::layers == 1, "Layer info is wrong"); - SAW_EXPECT(impl::forst_codec_info::layers == 2, "Layer info is wrong"); + { + uint64_t depth = impl::forst_codec_info::layers; + SAW_EXPECT(depth == 0, "Layer info is wrong"); + } + { + uint64_t depth = impl::forst_codec_info::layers; + SAW_EXPECT(depth == 1, "Layer info is wrong"); + } + { + uint64_t depth = impl::forst_codec_info::layers; + SAW_EXPECT(depth == 2, "Layer info is wrong"); + } } } } -- cgit v1.2.3