@@ -61,6 +61,13 @@ void test_noise () {
61
61
assert_equal (testOb -> query_noise ($ (p ), 100 , 8 , 0 , UNDEFINED , UNDEFINED , UNDEFINED , 1717171717 ), ([ "heat" : 0.000000 , "height" : 0.353097 , "humidity" : 2.135435 , "level" : 20 , "resource" : 0 ])),
62
62
assert_equal (testOb -> query_noise ($ (p ), 100 , 14 , 0 , UNDEFINED , UNDEFINED , UNDEFINED , 1717171717 ), ([ "heat" : 0.000000 , "height" : 0.400000 , "humidity" : 1.924181 , "level" : 20 , "resource" : 0 ])),
63
63
}) :));
64
+
65
+ expect ("noise returns humidity adjustments" , (: ({
66
+ assert_equal (testOb -> query_noise ($ (p ), 100 , 46 , 0 , UNDEFINED , UNDEFINED , UNDEFINED , 1717171717 ), ([ "heat" : 0.000000 , "height" : 0.281879 , "humidity" : 2.366390 , "level" : 20 , "resource" : 0 ])),
67
+ assert_equal (testOb -> query_noise ($ (p ), 100 , 45 , 0 , UNDEFINED , UNDEFINED , UNDEFINED , 1717171717 ), ([ "heat" : 0.000000 , "height" : 0.365770 , "humidity" : 2.399587 , "level" : 20 , "resource" : 0 ])),
68
+ assert_equal (testOb -> query_noise ($ (p ), 100 , 44 , 0 , UNDEFINED , UNDEFINED , UNDEFINED , 1717171717 ), ([ "heat" : 0.000000 , "height" : 0.416786 , "humidity" : 2.145491 , "level" : 20 , "resource" : 0 ])),
69
+ assert_equal (testOb -> query_noise ($ (p ), 100 , 38 , 0 , UNDEFINED , UNDEFINED , UNDEFINED , 1717171717 ), ([ "heat" : 0.000000 , "height" : 0.469673 , "humidity" : 0.530347 , "level" : 20 , "resource" : 0 ])),
70
+ }) :));
64
71
}
65
72
66
73
void test_biome () {
0 commit comments