let's add .logicdata for unit tests
This commit is contained in:
parent
b7109fa09c
commit
fee5203f5f
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* @file logicdata.cpp
|
||||
*
|
||||
* Created on: Jul 19, 2020
|
||||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#include "logicdata.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void writeFile() {
|
||||
|
||||
FILE *ptr = fopen("test.logicdata", "wb");
|
||||
|
||||
|
||||
fclose(ptr);
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
#include <cstdio>
|
||||
#include "logicdata.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
printf(".logicdata Sandbox 20200719\n");
|
||||
|
||||
writeFile();
|
||||
|
||||
printf("Done!\n");
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue