1 #ifndef TEST_MATH_RATIONALTEST_H_
2 #define TEST_MATH_RATIONALTEST_H_
4 #include "../../src/math/Rational.h"
8 #include <cppunit/extensions/HelperMacros.h>
14 : public CppUnit::TestFixture {
16 CPPUNIT_TEST_SUITE(RationalTest);
17 CPPUNIT_TEST(testConversion);
18 CPPUNIT_TEST(testComparison);
19 CPPUNIT_TEST(testSum);
20 CPPUNIT_TEST(testProduct);
21 CPPUNIT_TEST_SUITE_END();
27 void testConversion();
28 void testComparison();