Changeset 2207:75a29ac69c19 in lemon-0.x for test/dim_test.cc
- Timestamp:
- 09/07/06 15:27:16 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2933
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
test/dim_test.cc
r2006 r2207 17 17 */ 18 18 19 #include <lemon/ xy.h>19 #include <lemon/dim2.h> 20 20 #include <iostream> 21 21 #include "test_tools.h" … … 26 26 { 27 27 28 cout << "Testing classes ` xy' and `boundingbox'." << endl;28 cout << "Testing classes `dim2::Point' and `dim2::BoundingBox'." << endl; 29 29 30 typedef xy<int> XY;30 typedef dim2::Point<int> Point; 31 31 32 XYseged;33 XYa(1,2);34 XYb(3,4);32 Point seged; 33 Point a(1,2); 34 Point b(3,4); 35 35 36 36 seged = a+b; … … 50 50 check(seged.x==1 && seged.y==2, "b/l"); 51 51 52 typedef BoundingBox<int> BB;52 typedef dim2::BoundingBox<int> BB; 53 53 BB doboz1; 54 54 check(doboz1.empty(), "It should be empty.");
Note: See TracChangeset
for help on using the changeset viewer.