mirror of
https://github.com/Ed94/gencpp.git
synced 2025-07-06 13:45:44 -07:00
Setup testing and library for getting the parse api done.
This commit is contained in:
48
test/test.Parsed.cpp
Normal file
48
test/test.Parsed.cpp
Normal file
@ -0,0 +1,48 @@
|
||||
#include "Bloat.cpp"
|
||||
// #include "Parsed\Array.Parsed.hpp"
|
||||
// #include "Parsed\Buffer.Parsed.hpp"
|
||||
// #include "Parsed\HashTable.Parsed.hpp"
|
||||
// #include "Parsed\Ring.Parsed.hpp"
|
||||
#include "Parsed\Sanity.hpp"
|
||||
|
||||
|
||||
#ifdef gen_time
|
||||
#include "gen.cpp"
|
||||
|
||||
using namespace gen;
|
||||
|
||||
|
||||
int gen_main()
|
||||
{
|
||||
Memory::setup();
|
||||
gen::init();
|
||||
|
||||
gen_sanity();
|
||||
|
||||
// gen_array( u8 );
|
||||
// gen_array( sw );
|
||||
|
||||
// gen_buffer( u8 );
|
||||
|
||||
// gen_hashtable( u32 );
|
||||
|
||||
// gen_ring( s16 );
|
||||
|
||||
// gen_array_file();
|
||||
// gen_buffer_file();
|
||||
// gen_hashtable_file();
|
||||
// gen_ring_file();
|
||||
|
||||
gen::deinit();
|
||||
Memory::cleanup();
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef runtime
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user