basic.t.c 300 Bytes
Newer Older
unknown's avatar
unknown committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

#include <stdlib.h>
#include <tap.h>

int main() {
  plan(5);
  ok(1 == 1, "testing basic functions");
  ok(2 == 2, "");
  ok(3 == 3, NULL);
  if (1 == 1)
    skip(2, "Sensa fragoli");
  else {
    ok(1 == 2, "Should not be run at all");
    ok(1, "This one neither");
  }
  return exit_status();
}