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(testAABB);
17 CPPUNIT_TEST(testSimpleRayBox);
18 CPPUNIT_TEST(testRayBox);
19 CPPUNIT_TEST(testBoxBox);
20 CPPUNIT_TEST(testSpherePlane);
21 CPPUNIT_TEST(testSphereHalfSpace);
23 CPPUNIT_TEST_SUITE_END();
30 void testSimpleRayBox();
33 void testSpherePlane();
34 void testSphereHalfSpace();