Update of /cvsroot/pclasses/pclasses2/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9154/test
Modified Files:
IntTypeTest.cpp
Log Message:
Fixed IntTypeTest.
Index: IntTypeTest.cpp
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/test/IntTypeTest.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- IntTypeTest.cpp 22 Dec 2004 17:54:37 -0000 1.1.1.1
+++ IntTypeTest.cpp 24 Jan 2005 01:24:33 -0000 1.2
@@ -29,10 +29,10 @@
public:
void run() throw()
{
- UInt32 ui32(UInt32::Max);
- Int32 i32(Int32::Max);
+ UInt32 ui32(UInt32::min());
+ Int32 i32(Int32::max());
- P_TEST(ui32 == UInt32::Max);
+ P_TEST(ui32 == UInt32::max());
P_TEST(0 < ui32);
P_TEST(0.0f < ui32);
P_TEST(ui32 > 0);
|