X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=tst%2Frand%2FStabilityTest.hpp;h=acc6741fb13f2f8141f95ed294f9a81f34726fae;hb=29e8cfd4a72c248583ea9482864c016bb20f40f8;hp=b2ee1aefba1718c99a908da3637f6a622216518a;hpb=f1f8941a3f682fb589cf3c620fc7e7602cfc0f7f;p=blank.git diff --git a/tst/rand/StabilityTest.hpp b/tst/rand/StabilityTest.hpp index b2ee1ae..acc6741 100644 --- a/tst/rand/StabilityTest.hpp +++ b/tst/rand/StabilityTest.hpp @@ -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); + }; }