summaryrefslogtreecommitdiff
path: root/test/tap.h
blob: fc0df61e127b56987f662c2253b35553c65eabf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TAP_H
#define TAP_H

#include <stddef.h>

#define tap_is(a, b, message) ((a) == (b) ? tap_ok((message)) : tap_not_ok((message)))
#define tap_isnt(a, b, message) ((a) != (b) ? tap_ok((message)) : tap_not_ok((message)))

void tap_version(size_t version);
void tap_plan(void);
void tap_ok(const char *message, ...);
void tap_not_ok(const char *message, ...);
void tap_todo(const char *message);

#endif /* TAP_H */