shithub: soundpipe

ref: f6d97317c22b5d2e703844728a3f41b6bc3a74a4
dir: /test/libtap.c/

View raw version
/*
Copyright (c) 2013, 2014, Louis P. Santillan <[email protected]>
All rights reserved.

*/
#include <stdio.h>
#include "tap.h"

void plan( unsigned int num )
{
   printf( "1..%d\n",
           num );
}

unsigned int ok( unsigned int ok, const char* msg )
{
   static int testnum = 0;
   printf( "%s %d - %s\n",
           ( ok ? "ok" : "not ok" ),
           ++testnum,
           msg );
   return ok;
}