Update of /cvsroot/playerstage/code/player/client_libs/libplayerc/test
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3155/client_libs/libplayerc/test
Modified Files:
test_graphics3d.c
Log Message:
re-adde global argc and argv vars
Index: test_graphics3d.c
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc/test/test_graphics3d.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test_graphics3d.c 6 Aug 2007 06:30:50 -0000 1.3
--- test_graphics3d.c 22 Feb 2008 20:51:50 -0000 1.4
***************
*** 121,128 ****
}
! sleep(5);
!
!
TEST("clearing");
if(playerc_graphics3d_clear(device) < 0)
--- 121,148 ----
}
! sleep(2);
!
TEST("clearing");
+ if(playerc_graphics3d_clear(device) < 0)
+ FAIL();
+ else
+ PASS();
+
+ sleep( 1 );
+
+ TEST( "translating" );
+ if(playerc_graphics3d_translate( device, 1, 1, 1 ) < 0)
+ FAIL();
+ else
+ PASS();
+
+ TEST( "rotating" );
+ if(playerc_graphics3d_rotate( device, M_PI/2.0, 0, 0, 1 ) < 0)
+ FAIL();
+ else
+ PASS();
+
+
+ /* TEST("clearing");
if(playerc_graphics3d_clear(device) < 0)
***************
*** 132,135 ****
--- 152,158 ----
sleep( 1 );
+ */
+
+
TEST("unsubscribing");
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit