mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
ftTypes_test.cpp
Go to the documentation of this file.
1/** \file ftTypes_test.cpp
2 * \brief Tests Fourier-transform type traits.
3 */
4#include "../../../catch2/catch.hpp"
5
6#include <Eigen/Dense>
7
8#define MX_NO_ERROR_REPORTS
9
11
12/// Test the ftTypes
13/** This is just a compilation check.
14 *
15 * \ingroup ftTypes_unit_tests
16 */
17TEST_CASE( "Test the ftTypes", "[math::ft]" )
18{
20
21 REQUIRE(F == mx::math::ft::dir::forward);
22 REQUIRE(F != mx::math::ft::dir::backward);
23
25
26 REQUIRE(B != mx::math::ft::dir::forward);
27 REQUIRE(B == mx::math::ft::dir::backward);
28}
Fourier Transform Types.
TEST_CASE("Test the ftTypes", "[math::ft]")
Test the ftTypes.
dir
Directions of the Fourier Transform.
Definition ftTypes.hpp:41
@ backward
Specifies the backward transform.
Definition ftTypes.hpp:42
@ forward
Specifies the forward transform.
Definition ftTypes.hpp:41