void TestIndexTreeMemory(void) { BeginTests(); FastFunctionsInit(); MemoryInit(); TestIndexTreeMemoryKill(); TestIndexTreeMemoryAdd(); TestIndexTreeMemoryGet(); TestIndexTreeMemoryPutPtrDuplicate(); TestIndexTreeMemoryPutDifferenceSizeDuplicates(); TestIndexTreeMemoryValidateInternalConsistency(); TestIndexTreeMemoryCountAllocatedNodes(); TestIndexTreeMemoryRemoveResize(); TestIndexTreeMemoryRemoveByObject(); TestIndexTreeMemoryHasKey(); TestIndexTreeMemoryRemoveNullNode(); TestIndexTreeMemoryAddLongLong(); TestIndexTreeMemoryIterate(); TestIndexTreeMemoryReadWrite(); TestIndexTreeMemoryRemoveOnRoot(); TestIndexTreeMemoryResizeData(); MemoryKill(); FastFunctionsKill(); TestStatistics(); }
void TestTriangleShape(void) { BeginTests(); FastFunctionsInit(); FastFunctionsKill(); TestStatistics(); }
void TestChunkFileFile(void) { BeginTests(); FastFunctionsInit(); TestChunkFileFileRead(); FastFunctionsKill(); TestStatistics(); }
void TestTrackingAllocator(void) { BeginTests(); FastFunctionsInit(); TestTrackingAllocatorSize(); FastFunctionsKill(); TestStatistics(); }
int FAR PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { InitTotalStatistics(); InitEmptyString(); FastFunctionsInit(); TestStackPointers(); TestClass(); TestClassStorage(); TestUnknowns(); TestArrayUnknown(); TestSetUnknown(); TestArrayType(); TestSetType(); TestMapStringUnknown(); TestEvent(); TestActionEvent(); TestExternalChannels(); TestExternalChannelPadder(); TestChannels(); TestChannelsAccessor(); TestSingleChannelAccessor(); TestChunkFileNames(); TestParameters(); TestDistToRoot(); TestDistToStack(); TestObjectsSimple(); TestRoot(); TestObject(); TestPointer(); TestArrayCommonObject(); TestNamedObject(); TestObjectAllocator(); TestObjectWriterChunked(); TestObjectGraphSerialiser(); TestObjectReaderSimple(); TestObjectReaderChunked(); TestObjectStackPointers(); TestNamedIndexes(); TestObjectGraphDeserialiser(); TestObjectConverter(); TestObjects(); TestDehollowfication(); TestUsage(); TestArray(); TestSet(); TestKill(); TestEmbedded(); TestEmbeddedObjectRemapTos(); FastFunctionsKill(); KillEmptyString(); return TestTotalStatistics(); }
void TestDurableSet(void) { FastFunctionsInit(); TypeConverterInit(); BeginTests(); TestDurableSetAdd(); TestStatistics(); FastFunctionsKill(); TypeConverterKill(); }
void TestArrayEmbedded(void) { BeginTests(); FastFunctionsInit(); TestArrayEmbeddedAdd(); TestArrayEmbeddedRemoveAt(); TestArrayEmbeddedRemove(); FastFunctionsKill(); TestStatistics(); }
void TestIndexes(void) { FastFunctionsInit(); BeginTests(); TestIndexesSomething(); TestIndexesIteration(); TestIndexesAddAndRemove(); TestStatistics(); FastFunctionsKill(); }
int main(int argc, _TCHAR* argv[]) { CFileUtil cFileUtil; InitTotalStatistics(); FastFunctionsInit(); TypesInit(); TypeConverterInit(); UnknownsInit(); cFileUtil.MakeDir("Output"); TestImage(); TestImageColour(); TestImageImport(); TestImageReader(); TestImageWriter(); TestImageGreyToRGB(); TestImageRGBToGrey(); TestImageDivider(); TestBumpMapper(); TestPlainTextEditor(); TestImageCel(); TestRectangleBestPacker(); TestRectanglePow2Packer(); TestImageModifierStack(); TestImageDrawBox(); TestImageRecolour(); TestImageSwizzle(); TestImageCombiner(); //TestWinText(); //TestImageCelsSource(); //TestHalfSpace(); //TestPolygon(); //TestSphereShape(); //TestTriangleShape(); //TestMeshFaceReturn(); //TestMeshPolygons(); //TestMeshShapes(); //TestMeshConnectivity(); //TestNormalGeneration(); //TestMeshOBJReader(); cFileUtil.RemoveDir("Output"); UnknownsKill(); TypeConverterKill(); TypesKill(); FastFunctionsKill(); return TestTotalStatistics(); }
void TestArrayInt(void) { BeginTests(); FastFunctionsInit(); TestArrayIntAddFind(); TestArrayIntSorting(); TestArrayIntRemoveDuplicates(); TestArrayIntRemoveAt(); FastFunctionsKill(); TestStatistics(); }
void TestArrayTemplateEmbedded(void) { BeginTests(); FastFunctionsInit(); TestArrayTemplateEmbeddedAdd(); TestArrayTemplateEmbeddedRemoveAt(); TestArrayTemplateEmbeddedRemove(); TestArrayTemplateEmbeddedSizeof(); TestArrayTemplateEmbeddedAllocationWithVirtualClass(); FastFunctionsKill(); TestStatistics(); }
void TestFileSystem(void) { BeginTests(); FastFunctionsInit(); TestFileSystemInit(); TestFileSystemNearest(); TestFileSystemFindExtension(); TestFileSystemGetFiles(); TestFileSystemIterator(); FastFunctionsKill(); TestStatistics(); }
void TestChunkFile(void) { BeginTests(); FastFunctionsInit(); MemoryInit(); TestChunkFileSimple(); TestChunkFileMD5ing(); TestChunkFileNameing(); MemoryKill(); FastFunctionsKill(); TestStatistics(); }
void TestMemoryCache(void) { BeginTests(); FastFunctionsInit(); TestMemoryCacheSimple(); TestMemoryCacheBrokenExample(); TestMemoryCacheEvictAll(); TestMemoryCacheEvictLeftmost(); TestMemoryCacheEvictRightmost(); FastFunctionsKill(); TestStatistics(); }
void TestPackFilesPacker(void) { BeginTests(); FastFunctionsInit(); MemoryInit(); TestPackFilesPackerSimple(); TestPackFilesPackerCopyDir(); MemoryKill(); FastFunctionsKill(); TestStatistics(); }
void TestMapBlock(void) { BeginTests(); MemoryInit(); FastFunctionsInit(); TestMapBlockInternals(); TestMapBlockGet(); TestMapBlockAddDuplicate(); TestMapBlockRemove(); TestMapBlockReadWrite(); FastFunctionsKill(); MemoryKill(); TestStatistics(); }
void TestArrayTemplate(void) { BeginTests(); MemoryInit(); FastFunctionsInit(); TestMisc(); TestArrayAllocation(); TestArrayCopy(); TestArraySorting(); TestArrayRemove(); TestArrayFake(); FastFunctionsKill(); MemoryKill(); TestStatistics(); }
void TestFileUtil(void) { BeginTests(); MemoryInit(); FastFunctionsInit(); TestFileUtilRemoveExtension(); TestFileUtilFindExtension(); TestFileUtilNaming(); TestFileUtilMisc(); TestFileUtilMakeNameFromDirectory(); TestFileUtilMakeDirectory(); TestFileUtilRemoveLastFromPath(); TestFileUtilTouchDirectory(); TestFileUtilPrependToPath(); FastFunctionsKill(); MemoryKill(); TestStatistics(); }
void TestFiles(void) { BeginTests(); FastFunctionsInit(); TypeConverterInit(); MemoryInit(); TestFilesSimple(); TestFileSystemIteration(); TestFilesIteration(); TestGetFileNames(); TestFilesWholeDirectory(); MemoryKill(); FastFunctionsKill(); TypeConverterKill(); TestStatistics(); }
void TestLogFile(void) { BeginTests(); FastFunctionsInit(); TypeConverterInit(); TestLogFileOpen(); TestLogFileRead(); TestLogFileWrite(); TestLogFileFindHoles(); TestLogFileCommandsSimple(); TestLogFileCommandsComplex(); TestLogFileDelete(); TestLogFileMultipleReadsAfterOpens(); FastFunctionsKill(); TypeConverterKill(); TestStatistics(); }