1 //------------------------------------------------------------------------------ 2 // LooperSizeTest.cpp 3 // 4 //------------------------------------------------------------------------------ 5 6 // Standard Includes ----------------------------------------------------------- 7 #include <stdio.h> 8 9 // System Includes ------------------------------------------------------------- 10 #include <Looper.h> 11 12 // Project Includes ------------------------------------------------------------ 13 14 // Local Includes -------------------------------------------------------------- 15 #include "LooperSizeTest.h" 16 17 // Local Defines --------------------------------------------------------------- 18 19 // Globals --------------------------------------------------------------------- 20 #define R5_BLOOPER_SIZE 172 21 22 //------------------------------------------------------------------------------ LooperSizeTest()23void TLooperSizeTest::LooperSizeTest() 24 { 25 CPPUNIT_ASSERT(sizeof (BLooper) == R5_BLOOPER_SIZE); 26 } 27 //------------------------------------------------------------------------------ Suite()28TestSuite* TLooperSizeTest::Suite() 29 { 30 TestSuite* suite = new TestSuite("BLooper sizeof() test"); 31 ADD_TEST4(BLooper, suite, TLooperSizeTest, LooperSizeTest); 32 return suite; 33 } 34 //------------------------------------------------------------------------------ 35 36 /* 37 * $Log $ 38 * 39 * $Id $ 40 * 41 */ 42 43