xref: /haiku/src/tests/kits/interface/bpolygon/MapPolygonTest.h (revision 1d9d47fc72028bb71b5f232a877231e59cfe2438)
1 /*
2 	$Id: MapPolygonTest.h,v 1.1 2002/12/03 04:07:21 jrand Exp $
3 
4 	This file contains the definition of a class for testing the
5 	mapping of BPolygon objects.
6 
7 	*/
8 
9 
10 #ifndef MapPolygonTest_H
11 #define MapPolygonTest_H
12 
13 
14 #include "../common.h"
15 
16 
17 class BPolygon;
18 class BPoint;
19 class BRect;
20 
21 
22 class MapPolygonTest :
23 	public TestCase {
24 
25 private:
26 	void polygonMatches(BPolygon *, const BPoint *, int numPoints, BRect);
27 
28 protected:
29 
30 public:
31 	static Test *suite(void);
32 	void PerformTest(void);
33 	MapPolygonTest(std::string name = "");
34 	virtual ~MapPolygonTest();
35 	};
36 
37 #endif
38 
39 
40 
41 
42