4 #include <UnitTest++.h>
13 TEST(FpBoundRealnumFail)
20 double lo=1.,hi=2.,x=1.5;
23 TEST(FpBoundDoubleFail)
25 double lo=1.,hi=2.,x=2.5;
28 TEST(FpBoundRealnumTolOK)
33 TEST(FpBoundRealnumTolFail)
38 TEST(FpBoundRealnumTolWide)
43 TEST(FpBoundDoubleTolOK)
45 double lo=1.,hi=2.,x=1.5;
48 TEST(FpBoundDoubleTolFail)
50 double lo=1.,hi=2.,x=2.5;
53 TEST(FpBoundDoubleTolWide)
55 double lo=1.,hi=2.,x=2.5;
bool fp_bound_tol(sys_float lo, sys_float x, sys_float hi, sys_float tol)
bool fp_bound(sys_float lo, sys_float x, sys_float hi, int n=3)