comparison test/automated/SDL_at.h @ 3715:3c9d9c052c8f gsoc2009_unit_tests

Initial revision of SDL_Surface testsuite.
author Edgar Simo <bobbens@gmail.com>
date Wed, 01 Jul 2009 10:22:28 +0000
parents 80839fc6b8e1
children 6eca2af6a86b
comparison
equal deleted inserted replaced
3714:1b710c8e4cfb 3715:3c9d9c052c8f
19 * int f; 19 * int f;
20 * SDL_ATinit( "My testsuite" ); 20 * SDL_ATinit( "My testsuite" );
21 * 21 *
22 * SDL_ATbegin( "My first testcase" ); 22 * SDL_ATbegin( "My first testcase" );
23 * if (!SDL_ATassert( "Trying '1+1=2'.", (1+1)==2)) 23 * if (!SDL_ATassert( "Trying '1+1=2'.", (1+1)==2))
24 * SDL_ATend(); 24 * return;
25 * 25 *
26 * SDL_ATbegin( "My second testcase" ); 26 * SDL_ATbegin( "My second testcase" );
27 * if (!SDL_ATassert( "Trying '4/2=2'.", (4/2)==2)) 27 * if (!SDL_ATassert( "Trying '4/2=2'.", (4/2)==2))
28 * SDL_ATend(); 28 * return;
29 * 29 *
30 * f = SDL_ATend(); 30 * f = SDL_ATend();
31 * @endcode 31 * @endcode
32 * 32 *
33 * @author Edgar Simo "bobbens" 33 * @author Edgar Simo "bobbens"