aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 17d481cac..e1d8492fd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -364,6 +364,7 @@ Doing now (most important at the top):
#include "config.h"
#include "guiMainMenu.h"
#include "mineral.h"
+#include "noise.h"
IrrlichtWrapper *g_irrlicht;
@@ -1545,12 +1546,20 @@ int main(int argc, char *argv[])
/*
Run unit tests
*/
+
if((ENABLE_TESTS && cmd_args.getFlag("disable-unittests") == false)
|| cmd_args.getFlag("enable-unittests") == true)
{
run_tests();
}
+ /*for(s16 y=-100; y<100; y++)
+ for(s16 x=-100; x<100; x++)
+ {
+ std::cout<<noise2d_gradient((double)x/10,(double)y/10, 32415)<<std::endl;
+ }
+ return 0;*/
+
/*
Some parameters
*/