12345678910111213141516171819202122 |
- #define IMPORT_CORE
- #include <core/Logger.h>
- #include <core/Utility.h>
- #include <string.h>
- #include "Tests.h"
- int main(int argAmount, char** args) {
- (void)args;
- if(argAmount < 3) {
- LOG_ERROR("missing path to images and/or mode");
- return 0;
- } else if(strcmp("test", args[2]) == 0) {
- testImageReader(args[1]);
- testNetwork();
- } else if(strcmp("window", args[2]) == 0) {
- testWindow();
- }
- finalizeTests();
- printMemoryReport();
- return 0;
- }
|