xref: /haiku/src/tests/kits/app/blooper/LooperSizeTest.cpp (revision 21258e2674226d6aa732321b6f8494841895af5f)
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 //------------------------------------------------------------------------------
23 void TLooperSizeTest::LooperSizeTest()
24 {
25 	CPPUNIT_ASSERT(sizeof (BLooper) == R5_BLOOPER_SIZE);
26 }
27 //------------------------------------------------------------------------------
28 TestSuite* 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