xref: /haiku/src/tests/kits/interface/bpolygon/CreatePolygonTest.h (revision 4466b89c65970de4c7236ac87faa2bee4589f413)
1 /*
2 	$Id: CreatePolygonTest.h 2067 2002-11-23 04:42:57Z jrand $
3 
4 	This file contains the definition of a class for testing the
5 	creation of BPolygon objects through a few different methods.
6 
7 	*/
8 
9 
10 #ifndef CreatePolygonTest_H
11 #define CreatePolygonTest_H
12 
13 
14 #include "../common.h"
15 
16 
17 class BPolygon;
18 class BPoint;
19 class BRect;
20 
21 
22 class CreatePolygonTest :
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 	CreatePolygonTest(std::string name = "");
34 	virtual ~CreatePolygonTest();
35 	};
36 
37 #endif
38 
39 
40 
41 
42