mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-22 20:19:02 +08:00
Renae to test_xy
This commit is contained in:
parent
eb6481256b
commit
cb9c4ed4c5
2
Makefile
2
Makefile
|
@ -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)
|
||||||
|
|
|
@ -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[])
|
Loading…
Reference in New Issue
Block a user