From 364d9e60e3c27cb131a598fe5f83deb74493319f Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 27 Jan 2026 22:26:27 +0100 Subject: test(spectool): Add end-to-end test for analysis tool Adds a new CTest unit test that performs a full, end-to-end verification of the 'spectool analyze' command. The test programmatically generates a sine wave, saves it as a .wav file, executes the spectool executable as a subprocess to analyze the wave, and then verifies the integrity of the resulting .spec file. This ensures the analysis pipeline (WAV decoding, windowing, FDCT, and file I/O) works correctly. --- tools/spectool.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/spectool.cpp') diff --git a/tools/spectool.cpp b/tools/spectool.cpp index 3b3d3aa..defb118 100644 --- a/tools/spectool.cpp +++ b/tools/spectool.cpp @@ -6,8 +6,6 @@ #include "platform.h" #include "audio/audio.h" -// Define MINIAUDIO_IMPLEMENTATION in one C/C++ file. -#define MINIAUDIO_IMPLEMENTATION #include "miniaudio.h" #include -- cgit v1.2.3