diff --git a/unit_tests/logicdata.cpp b/unit_tests/logicdata.cpp new file mode 100644 index 0000000000..0a21019f60 --- /dev/null +++ b/unit_tests/logicdata.cpp @@ -0,0 +1,19 @@ +/* + * @file logicdata.cpp + * + * Created on: Jul 19, 2020 + * @author Andrey Belomutskiy, (c) 2012-2020 + */ + +#include "logicdata.h" +#include +#include + +void writeFile() { + + FILE *ptr = fopen("test.logicdata", "wb"); + + + fclose(ptr); + +} diff --git a/unit_tests/logicdata_sandbox.cpp b/unit_tests/logicdata_sandbox.cpp new file mode 100644 index 0000000000..fab07e3836 --- /dev/null +++ b/unit_tests/logicdata_sandbox.cpp @@ -0,0 +1,11 @@ + +#include +#include "logicdata.h" + +int main(int argc, char **argv) { + printf(".logicdata Sandbox 20200719\n"); + + writeFile(); + + printf("Done!\n"); +} diff --git a/unit_tests/run_logicdata_sandbox.bat b/unit_tests/run_logicdata_sandbox.bat new file mode 100644 index 0000000000..953f0e968f --- /dev/null +++ b/unit_tests/run_logicdata_sandbox.bat @@ -0,0 +1,5 @@ +rm -f build/logicdata_sandbox.exe + +x86_64-w64-mingw32-g++ logicdata.cpp logicdata_sandbox.cpp -o build/logicdata_sandbox.exe -Wall + +build\logicdata_sandbox.exe