整体测试框架设计完成

This commit is contained in:
2022-05-21 17:31:27 +08:00
parent a9200ede29
commit 8a70c8255d
7 changed files with 377 additions and 0 deletions

18
all_test/include/tools.h Normal file
View File

@@ -0,0 +1,18 @@
//
// Created by ricardo on 2022/5/20.
//
#ifndef AUTO_PILOT_BUS_TOOLS_H
#define AUTO_PILOT_BUS_TOOLS_H
#include "stdio.h"
#include "string.h"
#include "define.h"
void ChooseTestCaseInput(char *path, int index);
void ChooseTestCaseOutput(char *path, int index);
void ReadOutputFile(char *result, FILE *f);
int CheckOutput(char *program_output, char *read_output);
#endif //AUTO_PILOT_BUS_TOOLS_H