gencpp/test/test.cpp

38 lines
461 B
C++

#include "Bloat.cpp"
#include "math.hpp"
#include "Array.hpp"
#ifdef gen_time
#include "gen.cpp"
int gen_main()
{
Memory::setup();
zpl_printf("\nPress any key after attaching to process\n");
getchar();
gen::init();
int
result = gen_math();
// result = gen_array_file();
Memory::cleanup();
return result;
}
#endif
#ifndef gen_time
#include "math.hpp"
int main()
{
u32 result = square( 5U );
zpl_printf("TEST RESULT: %d", result);
}
#endif