From 6e94440058ccab28cbd17da94dc325d3e9222fb4 Mon Sep 17 00:00:00 2001 From: lyon <645275593@qq.com> Date: Tue, 3 Aug 2021 16:34:44 +0800 Subject: [PATCH] add mainTest --- .gitignore | 1 + src/test/mainTest/main.cpp | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 src/test/mainTest/main.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..a1de94ca5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*CMakeLists.txt diff --git a/src/test/mainTest/main.cpp b/src/test/mainTest/main.cpp new file mode 100644 index 000000000..5780f7787 --- /dev/null +++ b/src/test/mainTest/main.cpp @@ -0,0 +1,14 @@ +#include "test_mimiCore.h" +extern "C" +{ + #include "dataMemory.h" +} + +extern DMEM_STATE DMEMS; +extern int error_num; +extern int memory_warnning_num; + +int main() +{ + test_mimiCore(0); +}