test/xy_test.cc
changeset 1588 b79bcba43661
parent 1435 8e85e6bbefdf
child 1875 98698b69a902
     1.1 --- a/test/xy_test.cc	Tue Jul 26 13:15:13 2005 +0000
     1.2 +++ b/test/xy_test.cc	Tue Jul 26 14:31:29 2005 +0000
     1.3 @@ -51,9 +51,9 @@
     1.4  	BB doboz1;
     1.5  	check(doboz1.empty(), "It should be empty.");
     1.6  	
     1.7 -	doboz1 += a;
     1.8 +	doboz1.add(a);
     1.9  	check(!doboz1.empty(), "It should not be empty.");
    1.10 -	doboz1 += b;
    1.11 +	doboz1.add(b);
    1.12  
    1.13  	check(doboz1.bottomLeft().x==1 && 
    1.14  	      doboz1.bottomLeft().y==2 &&
    1.15 @@ -74,7 +74,7 @@
    1.16  	check(!doboz2.empty(),
    1.17  	      "It should not be empty. Constructed from 1 point.");
    1.18  
    1.19 -	doboz2 += doboz1;
    1.20 +	doboz2.add(doboz1);
    1.21  	check(doboz2.inside(seged),
    1.22  	      "It should be inside. Incremented a box with an other.");
    1.23  }