Skip to content

Commit dc99faa

Browse files
committed
add one test
1 parent 020f004 commit dc99faa

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

test/algorithms_fft.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,17 @@ auto main() -> int { // NOLINT(readability-function-cognitive-complexity,bugpro
436436
}
437437
BOOST_TEST( m / nn < tol );
438438
}
439+
{
440+
multi::array<complex, 3> arr = {
441+
{{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}},
442+
{{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}},
443+
{{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}},
444+
{{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}}
445+
};
446+
447+
multi::fft_inplace(arr, multi::fft_forward);
448+
// multi::fft_inplace(arr.flattened(), multi::fft_forward);
449+
}
439450

440451
return boost::report_errors();
441452
}

0 commit comments

Comments
 (0)