diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-12-22 13:39:37 +0100 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-12-22 14:44:27 +0100 |
commit | eb33c262156f4feb67c523908add841077574021 (patch) | |
tree | 2f1765702fc2021274ace815e471113b29d79dd0 /src/transient_detector_ut.cpp | |
parent | e2605699b7c79a8cb5d06b0069f32c3b01d4ded4 (diff) | |
parent | 74d6e04c21bddd435bd74c34dbe027b883772a76 (diff) | |
download | atracdenc-eb33c262156f4feb67c523908add841077574021.tar.gz |
Merge branch 'master' into new_psy
Diffstat (limited to 'src/transient_detector_ut.cpp')
-rw-r--r-- | src/transient_detector_ut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transient_detector_ut.cpp b/src/transient_detector_ut.cpp index e41d4ac..95495ae 100644 --- a/src/transient_detector_ut.cpp +++ b/src/transient_detector_ut.cpp @@ -26,7 +26,7 @@ using std::vector; using namespace NAtracDEnc; TEST(AnalyzeGain, AnalyzeGainSimple) { - TFloat in[256]; + float in[256]; for (int i = 0; i < 256; ++i) { if (i <= 24) { in[i] = 1.0; @@ -38,10 +38,10 @@ TEST(AnalyzeGain, AnalyzeGainSimple) { in[i] = 0.5; } } - vector<TFloat> res = AnalyzeGain(in, 256, 32, false); + vector<float> res = AnalyzeGain(in, 256, 32, false); EXPECT_EQ(res.size(), 32); -// for (TFloat v : res) +// for (float v : res) // std::cout << v << std::endl; for (int i = 0; i < 3; ++i) EXPECT_EQ(res[i], 1.0); |