5 TESTCASE( ( target = fopen( testfile, "r" ) ) != NULL );
6 readcounter = fread( readbuffer, 1, 2000, target );
7 TESTCASE( fclose( target ) == 0 );
8 TESTCASE( ( target = fopen( "testing/printf_reference.txt", "r" ) ) != NULL );
9 TESTCASE( fread( refbuffer, 1, 2000, target ) == readcounter );
10 TESTCASE( fclose( target ) == 0 );
11 TESTCASE( memcmp( readbuffer, refbuffer, readcounter ) == 0 );