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; |
} |
} |
}; |
}; |