ok

Synopsis

Super tiny tap output library

Version
0.0.1
Source
jwerle/libok
License

API

Details

install ()
install             (TARGET_STATIC );

o ()
TARGET_DSO
o                   (TARGET_DSOLIB );

ok ()
void
ok                  (char * );

Increments ok count and outputs a message to stdout


ok_count ()
int
ok_count            ();

Returns the ok count


ok_done ()
void
ok_done             (void );

Completes tests and asserts that the expected test count matches the actual test count if the expected count is greater than 0


ok_expect ()
void
ok_expect           (int );

Sets the expectation count


ok_expected ()
int
ok_expected         ();

Returns the expected count


ok_reset ()
void
ok_reset            ();

Resets count and expected counters