]> git.localhorst.tv Git - gong.git/blob - tst/geometry/IntersectionTest.hpp
sphere/sphere intersection test
[gong.git] / tst / geometry / IntersectionTest.hpp
1 #ifndef GONG_TEST_GEOMETRY_INTERSECTIONTEST_H_
2 #define GONG_TEST_GEOMETRY_INTERSECTIONTEST_H_
3
4 #include <cppunit/extensions/HelperMacros.h>
5
6
7 namespace gong {
8 namespace geometry {
9 namespace test {
10
11 class IntersectionTest
12 : public CppUnit::TestFixture {
13
14 CPPUNIT_TEST_SUITE(IntersectionTest);
15
16 CPPUNIT_TEST(testAABB);
17 CPPUNIT_TEST(testSimpleRayBox);
18 CPPUNIT_TEST(testRayBox);
19 CPPUNIT_TEST(testBoxBox);
20 CPPUNIT_TEST(testSphereSphere);
21 CPPUNIT_TEST(testSpherePlane);
22 CPPUNIT_TEST(testSphereHalfSpace);
23
24 CPPUNIT_TEST_SUITE_END();
25
26 public:
27         void setUp();
28         void tearDown();
29
30         void testAABB();
31         void testSimpleRayBox();
32         void testRayBox();
33         void testBoxBox();
34         void testSphereSphere();
35         void testSpherePlane();
36         void testSphereHalfSpace();
37
38 };
39
40 }
41 }
42 }
43
44 #endif