8 setvbuf(stdout
, NULL
, _IONBF
, 0);
9 /* dummy example from libtap */
11 is("this", "that", "this is that"); /* bang */
12 is("this", "this", "this is this");
13 is("this", "that"); /* bang */
15 is(NULL
, NULL
, "null is null");
16 is(NULL
, "this", "null is this"); /* bang */
17 is("this", NULL
, "this is null"); /* bang */
18 is("foo\nfoo\nfoo", "bar\nbar\nbar"); /* bang */
19 is("foo\nfoo\nfoo", "foo\nfoo\nfoo");
20 isnt("this", "that", "this isnt that");
21 isnt("this", "this", "this isnt this"); /* bang */
23 isnt("this", "this"); /* bang */
24 isnt(NULL
, NULL
, "null isnt null"); /* bang */
25 isnt(NULL
, "this", "null isnt this");
26 isnt("this", NULL
, "this isnt null");
27 isnt("foo\nfoo\nfoo", "bar\nbar\nbar");
28 isnt("foo\nfoo\nfoo", "foo\nfoo\nfoo"); /* bang */