Renae to test_xy

This commit is contained in:
Aoran Zeng 2023-09-03 14:58:13 +08:00
parent eb6481256b
commit cb9c4ed4c5
2 changed files with 6 additions and 7 deletions

View File

@ -9,7 +9,7 @@ all:
@gcc chsrc.c $(CFLAGS) -o $(TARGET) @gcc chsrc.c $(CFLAGS) -o $(TARGET)
test: test:
@gcc test_helper.c -o $(TEST_TARGET) @gcc test_xy.c -o $(TEST_TARGET)
@./$(TEST_TARGET) @./$(TEST_TARGET)
test_cmd: $(TARGET) test_cmd: $(TARGET)

View File

@ -1,16 +1,15 @@
/* -------------------------------------------------------------- /* --------------------------------------------------------------
* File : test_helper.c * File : test_xy.c
* Authors : Aoran Zeng <ccmywish@qq.com> * Authors : Aoran Zeng <ccmywish@qq.com>
* Created on : <2023-08-30> * Created on : <2023-08-30>
* Last modified : <2023-09-02> * Last modified : <2023-09-03>
* *
* test_helper: * test_xy:
* *
* helper.h * xy.h
* -------------------------------------------------------------*/ * -------------------------------------------------------------*/
#include <stdio.h> #include "xy.h"
#include "helper.h"
int int
main (int argc, char const *argv[]) main (int argc, char const *argv[])