Revision: 1.4 - (view) (download) (as text)
1 : | ktanaka | 1.1 | #ifndef _BITMAP_FONT_TEST_H |
2 : | #define _BITMAP_FONT_TEST_H | ||
3 : | #include <cppunit/TestCase.h> | ||
4 : | #include <cppunit/TestCaller.h> | ||
5 : | #include <cppunit/TestSuite.h> | ||
6 : | #include <cppunit/TestResult.h> | ||
7 : | #include <cppunit/TextTestRunner.h> | ||
8 : | ktanaka | 1.4 | #include <cppunit/extensions/HelperMacros.h> |
9 : | ktanaka | 1.1 | #include "BitmapFont.h" |
10 : | ktanaka | 1.3 | #include <iostream> |
11 : | #include <algorithm> | ||
12 : | ktanaka | 1.1 | |
13 : | ktanaka | 1.4 | class BitmapFontTest : public CppUnit::TestFixture { |
14 : | CPPUNIT_TEST_SUITE( BitmapFontTest ); | ||
15 : | CPPUNIT_TEST( testGet ); | ||
16 : | CPPUNIT_TEST( testShow ); | ||
17 : | CPPUNIT_TEST( testPixel ); | ||
18 : | CPPUNIT_TEST_SUITE_END(); | ||
19 : | ktanaka | 1.1 | private: |
20 : | BitmapFont *space, *a; | ||
21 : | public: | ||
22 : | ktanaka | 1.4 | void setUp(); |
23 : | void tearDown(); | ||
24 : | void testGet(); | ||
25 : | void testShow(); | ||
26 : | void testPixel(); | ||
27 : | ktanaka | 1.1 | }; |
28 : | |||
29 : | #endif /* _BITMAP_FONT_TEST_H */ |
ktanaka Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |