24 lines
537 B
C
24 lines
537 B
C
#include "test.h"
|
|
|
|
// @copilot implement fail()
|
|
|
|
static int s_totalTests;
|
|
static int s_greenTests;
|
|
|
|
static Test[] = {
|
|
// @copilot add all tests
|
|
};
|
|
|
|
int main(int argc, char** argv) {
|
|
/*
|
|
@copilot loop over each test.
|
|
If the test is good, count the test as part of green test.
|
|
Otherwise, go to the next one.
|
|
|
|
The start of the test must log the name of the test method.
|
|
After the test, log either "[OK]" or "[FAIL]".
|
|
|
|
At the very end, log the name of each failed test and the total
|
|
number of green tests compared to the total.
|
|
*/
|
|
} |