Commit e78f0295c8cd868d1c4d2493e76bade2f0d1e996

henry 2004-09-29T23:11:42

Made tests more obvious

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/test/FTFont-Test.cpp b/test/FTFont-Test.cpp
index 2109ad0..799db81 100755
--- a/test/FTFont-Test.cpp
+++ b/test/FTFont-Test.cpp
@@ -170,9 +170,9 @@ class FTFontTest : public CppUnit::TestCase
         
         void testSetCharMap()
         {
-            CPPUNIT_ASSERT( testFont->CharMap( ft_encoding_unicode));
+            CPPUNIT_ASSERT( true == testFont->CharMap( ft_encoding_unicode));
             CPPUNIT_ASSERT( testFont->Error() == 0);        
-            CPPUNIT_ASSERT( !testFont->CharMap( ft_encoding_johab));
+            CPPUNIT_ASSERT( false == testFont->CharMap( ft_encoding_johab));
             CPPUNIT_ASSERT( testFont->Error() == 0x06); // invalid argument
         }