[wadalabfont-kit] / jis2prim / BitmapFontTest.h  

Diff of /jis2prim/BitmapFontTest.h

Parent Directory | Revision Log

version 1.1, Thu Feb 21 11:57:39 2002 UTC version 1.2, Fri Feb 22 12:03:48 2002 UTC
Line 34 
Line 34 
     cout << "space\n";      cout << "space\n";
     cout << *space << "\n";      cout << *space << "\n";
   }    }
     void testPixel(){
       CPPUNIT_ASSERT( (*a).getIndex(pair<int,int>(0,1)) == 2);
       CPPUNIT_ASSERT( (*a).getIndex(pair<int,int>(22,0)) == 1);
     }
   static Test *suite() {    static Test *suite() {
     TestSuite *suiteOfTests = new TestSuite;      TestSuite *suiteOfTests = new TestSuite;
     suiteOfTests->addTest (new TestCaller<BitmapFontTest>("testGet", &BitmapFontTest::testGet));      suiteOfTests->addTest (new TestCaller<BitmapFontTest>("testGet", &BitmapFontTest::testGet));
     suiteOfTests->addTest (new TestCaller<BitmapFontTest>("testShow", &BitmapFontTest::testShow));      suiteOfTests->addTest (new TestCaller<BitmapFontTest>("testShow", &BitmapFontTest::testShow));
       suiteOfTests->addTest (new TestCaller<BitmapFontTest>("testPixel", &BitmapFontTest::testPixel));
     return suiteOfTests;      return suiteOfTests;
   }    }
 };  };


Generate output suitable for use with a patch program
Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help