1/*
2 * Copyright (c) 2006-2007 Apple Inc. All Rights Reserved.
3 */
4
5#include <stdlib.h>
6
7#include "test_regressions.h"
8
9int test_00_test(int argc, char *const *argv)
10{
11    int rv = 1;
12    plan_tests(6);
13
14    TODO: {
15	todo("ok 0 is supposed to fail");
16
17	rv = ok(0, "ok bad");
18	if (!rv)
19	    diag("ok bad not good today");
20    }
21    rv &= ok(1, "ok ok");
22#if 0
23    SKIP: {
24	skip("is bad will fail", 1, 0);
25
26	if (!is(0, 4, "is bad"))
27	    diag("is bad not good today");
28    }
29    SKIP: {
30	skip("is ok should not be skipped", 1, 1);
31
32        is(3, 3, "is ok");
33    }
34#endif
35    isnt(0, 4, "isnt ok");
36    TODO: {
37	todo("isnt bad is supposed to fail");
38
39	isnt(3, 3, "isnt bad");
40    }
41    TODO: {
42	todo("cmp_ok bad is supposed to fail");
43
44	cmp_ok(3, &&, 0, "cmp_ok bad");
45    }
46    cmp_ok(3, &&, 3, "cmp_ok ok");
47
48    return 0;
49}
50