2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 07:02:08 +00:00
Files
math/test/test_rational_float.cpp
2007-06-12 22:09:40 +00:00

20 lines
520 B
C++

#include <boost/test/floating_point_comparison.hpp>
#include <boost/test/test_exec_monitor.hpp>
#include <boost/array.hpp>
#include <boost/math/tools/rational.hpp>
#include "test_rational.hpp"
void test_spots(float t, const char* n)
{
std::cout << "Testing basic sanity checks for type " << n << std::endl;
do_test_spots(t, int(0));
do_test_spots(t, unsigned(0));
#ifdef BOOST_HAS_LONG_LONG
do_test_spots(t, (unsigned long long)(0));
#endif
do_test_spots(t, float(0));
do_test_spots(t, float(0));
}