From eeaf1fa463a70768109ae3a0e2520ec05b448011 Mon Sep 17 00:00:00 2001 From: Param Thakkar <128291516+ParamThakkar123@users.noreply.github.com> Date: Wed, 7 May 2025 15:24:01 +0530 Subject: [PATCH] Update fft_tests.cpp --- tests/fft_tests.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/fft_tests.cpp b/tests/fft_tests.cpp index 4373e2920..00c80bc0a 100644 --- a/tests/fft_tests.cpp +++ b/tests/fft_tests.cpp @@ -309,7 +309,6 @@ TEST_CASE("test fft grads") { CHECK_EQ(vjp_out.shape(), Shape{5, 5}); } -<<<<<<< HEAD TEST_CASE("test stft and istft") { int n_fft = 4; int hop_length = 2; @@ -383,7 +382,8 @@ TEST_CASE("test stft and istft") { CHECK_EQ(stft_result.shape(1), n_fft); } } -== == == = TEST_CASE("test fftshift and ifftshift") { + +TEST_CASE("test fftshift and ifftshift") { // Test 1D array with even length auto x = arange(8); auto y = fft::fftshift(x); @@ -440,4 +440,3 @@ TEST_CASE("test stft and istft") { CHECK_THROWS_AS(fft::ifftshift(x, {3}), std::invalid_argument); CHECK_THROWS_AS(fft::ifftshift(x, {-5}), std::invalid_argument); } ->>>>>>> 5a1a5d5ed16f69af7c3ce56dd94e4502661e1565