shithub: soundpipe

ref: 6f50522ff66bbebd9d899f71b6da71288c0a8d0d
dir: /test/libtap.c/

View raw version
/*
Copyright (c) 2013, 2014, Louis P. Santillan <lpsantil@gmail.com>
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;
}