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