Changeset 2207:75a29ac69c19 in lemon-0.x for test
- Timestamp:
- 09/07/06 15:27:16 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2933
- Location:
- test
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
test/Makefile.am
r2197 r2207 19 19 test/dfs_test \ 20 20 test/dijkstra_test \ 21 test/dim_test \ 21 22 test/edge_set_test \ 22 23 test/graph_adaptor_test \ … … 40 41 test/time_measure_test \ 41 42 test/ugraph_test \ 42 test/unionfind_test \ 43 test/xy_test 43 test/unionfind_test 44 44 45 45 if HAVE_GLPK … … 61 61 test_dfs_test_SOURCES = test/dfs_test.cc 62 62 test_dijkstra_test_SOURCES = test/dijkstra_test.cc 63 test_dim_test_SOURCES = test/dim_test.cc 63 64 test_edge_set_test_SOURCES = test/edge_set_test.cc 64 65 test_graph_adaptor_test_SOURCES = test/graph_adaptor_test.cc … … 83 84 test_ugraph_test_SOURCES = test/ugraph_test.cc 84 85 test_unionfind_test_SOURCES = test/unionfind_test.cc 85 test_xy_test_SOURCES = test/xy_test.cc86 86 87 87 test_lp_test_SOURCES = test/lp_test.cc -
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."); -
test/polynomial_test.cc
r2086 r2207 18 18 19 19 #include <lemon/polynomial.h> 20 #include <lemon/ xy.h>20 #include <lemon/dim2.h> 21 21 #include <iostream> 22 22 #include "test_tools.h"
Note: See TracChangeset
for help on using the changeset viewer.