COIN-OR::LEMON - Graph Library

Changeset 2207:75a29ac69c19 in lemon-0.x for test


Ignore:
Timestamp:
09/07/06 15:27:16 (18 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2933
Message:

xy -> dim2::Point

Location:
test
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • test/Makefile.am

    r2197 r2207  
    1919        test/dfs_test \
    2020        test/dijkstra_test \
     21        test/dim_test \
    2122        test/edge_set_test \
    2223        test/graph_adaptor_test \
     
    4041        test/time_measure_test \
    4142        test/ugraph_test \
    42         test/unionfind_test \
    43         test/xy_test
     43        test/unionfind_test
    4444
    4545if HAVE_GLPK
     
    6161test_dfs_test_SOURCES = test/dfs_test.cc
    6262test_dijkstra_test_SOURCES = test/dijkstra_test.cc
     63test_dim_test_SOURCES = test/dim_test.cc
    6364test_edge_set_test_SOURCES = test/edge_set_test.cc
    6465test_graph_adaptor_test_SOURCES = test/graph_adaptor_test.cc
     
    8384test_ugraph_test_SOURCES = test/ugraph_test.cc
    8485test_unionfind_test_SOURCES = test/unionfind_test.cc
    85 test_xy_test_SOURCES = test/xy_test.cc
    8686
    8787test_lp_test_SOURCES = test/lp_test.cc
  • test/dim_test.cc

    r2006 r2207  
    1717 */
    1818
    19 #include <lemon/xy.h>
     19#include <lemon/dim2.h>
    2020#include <iostream>
    2121#include "test_tools.h"
     
    2626{
    2727
    28   cout << "Testing classes `xy' and `boundingbox'." << endl;
     28  cout << "Testing classes `dim2::Point' and `dim2::BoundingBox'." << endl;
    2929
    30         typedef xy<int> XY;
     30  typedef dim2::Point<int> Point;
    3131       
    32         XY seged;
    33         XY a(1,2);
    34         XY b(3,4);
     32        Point seged;
     33        Point a(1,2);
     34        Point b(3,4);
    3535
    3636        seged = a+b;
     
    5050        check(seged.x==1 && seged.y==2, "b/l");
    5151
    52         typedef BoundingBox<int> BB;
     52        typedef dim2::BoundingBox<int> BB;
    5353        BB doboz1;
    5454        check(doboz1.empty(), "It should be empty.");
  • test/polynomial_test.cc

    r2086 r2207  
    1818
    1919#include <lemon/polynomial.h>
    20 #include <lemon/xy.h>
     20#include <lemon/dim2.h>
    2121#include <iostream>
    2222#include "test_tools.h"
Note: See TracChangeset for help on using the changeset viewer.