]> git.localhorst.tv Git - blank.git/blob - tst/rand/StabilityTest.hpp
b2ee1aefba1718c99a908da3637f6a622216518a
[blank.git] / tst / rand / StabilityTest.hpp
1 #ifndef BLANK_TEST_RAND_STABILITYTEST_HPP
2 #define BLANK_TEST_RAND_STABILITYTEST_HPP
3
4 #include "graphics/glm.hpp"
5
6 #include <cppunit/extensions/HelperMacros.h>
7
8
9
10 namespace blank {
11
12 class SimplexNoise;
13
14 namespace test {
15
16 class StabilityTest
17 : public CppUnit::TestFixture {
18
19 CPPUNIT_TEST_SUITE(StabilityTest);
20
21 CPPUNIT_TEST(testRNG);
22 CPPUNIT_TEST(testSimplex);
23
24 CPPUNIT_TEST_SUITE_END();
25
26 public:
27         void setUp();
28         void tearDown();
29
30         void testRNG();
31         void testSimplex();
32
33         static void Assert(
34                 const SimplexNoise &noise,
35                 const glm::vec3 &position,
36                 float expected);
37
38 };
39
40 }
41 }
42
43 #endif