1 #ifndef GONG_TEST_GEOMETRY_INTERSECTIONTEST_H_
2 #define GONG_TEST_GEOMETRY_INTERSECTIONTEST_H_
4 #include <cppunit/extensions/HelperMacros.h>
11 class IntersectionTest
12 : public CppUnit::TestFixture {
14 CPPUNIT_TEST_SUITE(IntersectionTest);
16 CPPUNIT_TEST(testSimpleRayBox);
17 CPPUNIT_TEST(testRayBox);
18 CPPUNIT_TEST(testBoxBox);
19 CPPUNIT_TEST(testSpherePlane);
20 CPPUNIT_TEST(testSphereHalfSpace);
22 CPPUNIT_TEST_SUITE_END();
28 void testSimpleRayBox();
31 void testSpherePlane();
32 void testSphereHalfSpace();