1.1 --- a/src/test/xy_test.cc Wed Aug 25 18:55:57 2004 +0000
1.2 +++ b/src/test/xy_test.cc Mon Aug 30 12:01:47 2004 +0000
1.3 @@ -7,7 +7,7 @@
1.4 int main()
1.5 {
1.6
1.7 - cout << "Testing classes xy and boundingbox." << endl;
1.8 + cout << "Testing classes `xy' and `boundingbox'." << endl;
1.9
1.10 typedef xy<int> XY;
1.11
1.12 @@ -33,10 +33,10 @@
1.13
1.14 typedef BoundingBox<int> BB;
1.15 BB doboz1;
1.16 - check(doboz1.empty(), "empty? Should be.");
1.17 + check(doboz1.empty(), "It should be empty.");
1.18
1.19 doboz1 += a;
1.20 - check(!doboz1.empty(), "empty? Should not be.");
1.21 + check(!doboz1.empty(), "It should not be empty.");
1.22 doboz1 += b;
1.23
1.24 check(doboz1.bottomLeft().x==1 &&
1.25 @@ -46,19 +46,19 @@
1.26 "added points to box");
1.27
1.28 seged.x=2;seged.y=3;
1.29 - check(doboz1.inside(seged),"Inside? It should be.");
1.30 + check(doboz1.inside(seged),"It should be inside.");
1.31
1.32 seged.x=1;seged.y=3;
1.33 - check(doboz1.inside(seged),"Inside? It should be.");
1.34 + check(doboz1.inside(seged),"It should be inside.");
1.35
1.36 seged.x=0;seged.y=3;
1.37 - check(!doboz1.inside(seged),"Inside? It should not be.");
1.38 + check(!doboz1.inside(seged),"It should not be inside.");
1.39
1.40 BB doboz2(seged);
1.41 check(!doboz2.empty(),
1.42 - "empty? Should not be. Constructed from 1 point.");
1.43 + "It should not be empty. Constructed from 1 point.");
1.44
1.45 doboz2 += doboz1;
1.46 check(doboz2.inside(seged),
1.47 - "Not inside? It should be. Incremented a box with an other.");
1.48 + "It should be inside. Incremented a box with an other.");
1.49 }