]> git.localhorst.tv Git - gong.git/blob - tst/geometry/IntersectionTest.hpp
simple AABB 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(testSpherePlane);
21 CPPUNIT_TEST(testSphereHalfSpace);
22
23 CPPUNIT_TEST_SUITE_END();
24
25 public:
26         void setUp();
27         void tearDown();
28
29         void testAABB();
30         void testSimpleRayBox();
31         void testRayBox();
32         void testBoxBox();
33         void testSpherePlane();
34         void testSphereHalfSpace();
35
36 };
37
38 }
39 }
40 }
41
42 #endif