void FlatSpatialPoolerTest::RunTests() { testSelectVirgin(); testSelectHighTierColumns(); testAddBonus(); testSerialize(); }
void testAll() { testMakeList(); testSymbols(); testParse(); testEval(); testParseAndEval(); testSerialize(); testInterpret(); }
int main() { char buffer[512]; char out[512]; struct Allocator* alloc = BufferAllocator_new(buffer, 512); struct Writer* writer = ArrayWriter_new(out, 512, alloc); struct Reader* reader = ArrayReader_new(out, 512, alloc); return testSerialize(writer, reader); }
int main() { char out[512]; struct Allocator* alloc = CanaryAllocator_new(MallocAllocator_new(1<<20), NULL); struct Writer* writer = ArrayWriter_new(out, 512, alloc); struct Reader* reader = ArrayReader_new(out, 512, alloc); testSerialize(writer, reader); testParse(writer, reader, alloc); Allocator_free(alloc); }