]> git.localhorst.tv Git - blank.git/blobdiff - tst/rand/StabilityTest.hpp
test stability of worley noise generator
[blank.git] / tst / rand / StabilityTest.hpp
index b2ee1aefba1718c99a908da3637f6a622216518a..acc6741fb13f2f8141f95ed294f9a81f34726fae 100644 (file)
@@ -10,6 +10,7 @@
 namespace blank {
 
 class SimplexNoise;
+class WorleyNoise;
 
 namespace test {
 
@@ -20,6 +21,7 @@ CPPUNIT_TEST_SUITE(StabilityTest);
 
 CPPUNIT_TEST(testRNG);
 CPPUNIT_TEST(testSimplex);
+CPPUNIT_TEST(testWorley);
 
 CPPUNIT_TEST_SUITE_END();
 
@@ -29,12 +31,18 @@ public:
 
        void testRNG();
        void testSimplex();
+       void testWorley();
 
        static void Assert(
                const SimplexNoise &noise,
                const glm::vec3 &position,
                float expected);
 
+       static void Assert(
+               const WorleyNoise &noise,
+               const glm::vec3 &position,
+               float expected);
+
 };
 
 }