aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2024-08-19 23:46:54 +0200
committerDaniil Cherednik <dan.cherednik@gmail.com>2024-08-19 23:46:54 +0200
commit3b4a71de44837ca67cf4b8bfd727e431321ad16d (patch)
treecc2d861369977f7719598f93139b2e661ced2b6b
parent88deefbaecdbf6cfd9e74826b3962dc607c44f78 (diff)
downloadatracdenc-3b4a71de44837ca67cf4b8bfd727e431321ad16d.tar.gz
[AT3P] Missed ut fixes
-rw-r--r--src/atrac/at3p/at3p_gha_ut.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/atrac/at3p/at3p_gha_ut.cpp b/src/atrac/at3p/at3p_gha_ut.cpp
index a65cb35..0da0393 100644
--- a/src/atrac/at3p/at3p_gha_ut.cpp
+++ b/src/atrac/at3p/at3p_gha_ut.cpp
@@ -118,7 +118,7 @@ TEST(AT3PGHA, 689hz0625_900hz__full_frame_mono) {
EXPECT_EQ(res.GetNumWaves(0, 0), 2);
EXPECT_EQ(res.GetWaves(0, 0).second, 2);
EXPECT_EQ(res.GetWaves(0, 0).first[0].FreqIndex, 512);
- EXPECT_EQ(res.GetWaves(0, 0).first[1].FreqIndex, 669);
+ EXPECT_EQ(res.GetWaves(0, 0).first[1].FreqIndex, 668);
Dumper.Dump(&res, 1, 1);
}
@@ -192,7 +192,7 @@ TEST(AT3PGHA, 689hz0625__full_frame_stereo_own) {
EXPECT_EQ(res.Waves[1].WaveSbInfos.size(), 1);
EXPECT_EQ(res.GetNumWaves(1, 0), 1);
EXPECT_EQ(res.GetWaves(1, 0).second, 1);
- EXPECT_EQ(res.GetWaves(1, 0).first->FreqIndex, 743);
+ EXPECT_EQ(res.GetWaves(1, 0).first->FreqIndex, 742);
Dumper.Dump(&res, 2, 1);
}
@@ -212,7 +212,7 @@ TEST(AT3PGHA, 689hz0625__full_frame_stereo_multiple_second) {
EXPECT_EQ(res.GetNumWaves(1, 0), 2);
EXPECT_EQ(res.GetWaves(1, 0).second, 2);
EXPECT_EQ(res.GetWaves(1, 0).first[0].FreqIndex, 512);
- EXPECT_EQ(res.GetWaves(1, 0).first[1].FreqIndex, 669);
+ EXPECT_EQ(res.GetWaves(1, 0).first[1].FreqIndex, 668);
Dumper.Dump(&res, 2, 1);
}