3 #include "../../../catch2/catch.hpp"
7 #define MX_NO_ERROR_REPORTS
9 #include "../../../../include/math/func/moffat.hpp"
16 SCENARIO(
"compiling 1D Moffat function",
"[math::func::moffat]" )
18 GIVEN(
"the 1D Moffat function")
22 double mv = mx::math::func::moffat<double>(0., 0., 1., 0., 1., 1.);
33 SCENARIO(
"compiling 2D Moffat function",
"[math::func::moffat]" )
35 GIVEN(
"the 2D Moffat function")
39 double mv = mx::math::func::moffat2D<double>(0., 0., 0., 1., 0., 0., 1., 1.);
50 SCENARIO(
"compiling Moffat FWHM",
"[math::func::moffat]" )
52 GIVEN(
"the Moffat FWHM")
56 double mv = mx::math::func::moffatFWHM<double>(1.,1.);
SCENARIO("compiling 1D Moffat function", "[math::func::moffat]")