COIN-OR::LEMON - Graph Library

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


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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • 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.");
Note: See TracChangeset for help on using the changeset viewer.