mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
02ffd18af6
An implementation of the TAP framework for writing unit tests.
19 lines
299 B
C
19 lines
299 B
C
|
|
#include <stdlib.h>
|
|
#include <tap.h>
|
|
|
|
int main()
|
|
{
|
|
plan(4);
|
|
ok(1, NULL);
|
|
ok(1, NULL);
|
|
/*
|
|
Tests in the todo region is expected to fail. If they don't,
|
|
something is strange.
|
|
*/
|
|
todo_start("Need to fix these");
|
|
ok(0, NULL);
|
|
ok(0, NULL);
|
|
todo_end();
|
|
return exit_status();
|
|
}
|