mariadb/unittest/examples/todo.t.c
mats@mysql.com 02ffd18af6 WL#3206 (Add unit tests):
An implementation of the TAP framework for writing unit tests.
2006-04-04 18:16:15 +02:00

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();
}