From 388cd36ea37e5d1f61b9f0c5662ff2884a464ba2 Mon Sep 17 00:00:00 2001 From: pk4wt2yal <1330800687@qq.com> Date: Mon, 25 Nov 2024 12:21:53 +0800 Subject: [PATCH] Delete 'src/my-online-judge-master/MYOJ/compile_server/test/testCompile.cc' --- .../MYOJ/compile_server/test/testCompile.cc | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/my-online-judge-master/MYOJ/compile_server/test/testCompile.cc diff --git a/src/my-online-judge-master/MYOJ/compile_server/test/testCompile.cc b/src/my-online-judge-master/MYOJ/compile_server/test/testCompile.cc deleted file mode 100644 index 0d9fb11..0000000 --- a/src/my-online-judge-master/MYOJ/compile_server/test/testCompile.cc +++ /dev/null @@ -1,22 +0,0 @@ -#include "compile.hpp" - -int main() -{ - // 测试编译hello.cc文件 - // 1.hello.cc文件不存在 - // 2.hello.cc文件存在 - // 2.a hello.cc文件存在,且编译成功,生成.exe文件 - // 2.b hello.cc文件存在,但编译失败,没有生成.exe文件,并且有编译错误信息的文件产生 - - ns_compile::Compiler cpl; - if (cpl.compile("hello")) - { - lg(Debug, "编译成功\n"); - } - else - { - lg(Debug, "编译失败\n"); - } - - return 0; -} \ No newline at end of file