int main()
{
	int Error = 0;

	Error += test_simplex();
	Error += test_perlin();
	Error += test_perlin_pedioric();

	return Error;
}
Example #2
0
int main(int argc, char* argv[] )
{
        std::string path = *argv;
        
        auto to = path.rfind("gtc_noise");
        if ( to != std::string::npos )
        {
            prefix_path = path.substr(0, to);
        }
        
	int Error = 0;

	Error += test_simplex();
	Error += test_perlin();
	Error += test_perlin_pedioric();

	return Error;
}