Реорганизация тестов (в процессе)
This commit is contained in:
parent
43bf030295
commit
fcf793c758
41 changed files with 252 additions and 314 deletions
|
|
@ -15,15 +15,11 @@ void print_testing_name(const char * name)
|
|||
|
||||
void print_testing_success()
|
||||
{
|
||||
printf("[ \x1b[32mSuccess\x1b[0m ]\n");
|
||||
puts("[ Success ]\n");
|
||||
}
|
||||
|
||||
void print_testing_failed()
|
||||
void print_testing_failed(const char* message)
|
||||
{
|
||||
printf("[ \x1b[31mFailed\x1b[0m ]\n");
|
||||
}
|
||||
|
||||
void print_testing_warning(const char * message)
|
||||
{
|
||||
printf(" Warning: \x1b[30m%s\x1b[0m\n", message);
|
||||
printf("[ Failed: %s ]\n", message);
|
||||
exit(TEST_FAILED);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue