Esempio n. 1
0
bool Tester::run() {
	test_physics_utility();
	test_collisions();
	test_ecs();
	test_perlin();
	test_skill_loader();
	return true;
}
int main()
{
	int Error = 0;

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

	return Error;
}
Esempio n. 3
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;
}