aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2024-08-05 20:54:07 +0000
committerDaniil Cherednik <dan.cherednik@gmail.com>2024-08-11 11:17:08 +0000
commit2298d57fdd81d3e70e2eea2914848f43fe94a48b (patch)
tree07d36a70fbd191be94ece758c3f2f8b92a63b453 /test
parent0855c07960e94a7efa1bf13f9e85350d0d63c511 (diff)
downloadatracdenc-2298d57fdd81d3e70e2eea2914848f43fe94a48b.tar.gz
[AT3P] Part of naive GHA processor
* extract sinusoids parameters one by one. It is simple and fast but probably will not work well on the real musical signals * envelope is not passed to the output. Envelope handling must be improved
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 66218d8..f6d1827 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -71,7 +71,26 @@ target_link_libraries(at3plus_bitstream_ut
GTest::gtest_main
)
+###
+
+set(at3plus_gha_ut
+ ${CMAKE_SOURCE_DIR}/src/atrac/at3p/at3p_gha_ut.cpp
+)
+
+add_executable(at3plus_gha_ut ${at3plus_gha_ut})
+
+target_link_libraries(at3plus_gha_ut
+ m
+ fft_impl
+ atracdenc_impl
+ GTest::gtest_main
+)
+
+###
+
+
enable_testing()
add_test(ut atracdenc_ut)
add_test(at3plus_pqf_ut at3plus_pqf_ut)
add_test(at3plus_bitstream_ut at3plus_bitstream_ut)
+add_test(at3plus_gha_ut at3plus_gha_ut)