-#define testprintf( s, n, format, ... ) snprintf( s, n, format, __VA_ARGS__ )
+#define testprintf( s, format, ... ) snprintf( s, 100, format, __VA_ARGS__ )
+
+#define TESTCASE_SPRINTF( x ) if ( strcmp( target, x ) == 0 ) {} \
+ else { TEST_RESULTS += 1; printf( "FAILED: " __FILE__ ", line %d - \"%s\" != %s\n", __LINE__, target, #x ); }