diff --git a/Makefile b/Makefile index ffd0375..dc7aac6 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ all: @gcc chsrc.c $(CFLAGS) -o $(TARGET) test: - @gcc test_helper.c -o $(TEST_TARGET) + @gcc test_xy.c -o $(TEST_TARGET) @./$(TEST_TARGET) test_cmd: $(TARGET) diff --git a/test_helper.c b/test_xy.c similarity index 85% rename from test_helper.c rename to test_xy.c index ad41bb0..d8c5c8e 100644 --- a/test_helper.c +++ b/test_xy.c @@ -1,16 +1,15 @@ /* -------------------------------------------------------------- -* File : test_helper.c +* File : test_xy.c * Authors : Aoran Zeng * Created on : <2023-08-30> -* Last modified : <2023-09-02> +* Last modified : <2023-09-03> * -* test_helper: +* test_xy: * -* 测试 helper.h 中的辅助函数 +* 测试 xy.h * -------------------------------------------------------------*/ -#include -#include "helper.h" +#include "xy.h" int main (int argc, char const *argv[])