[Lemon-commits] [lemon_svn] alpar: r1047 - hugo/branches/hugo++/src/test
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:42:56 CET 2006
Author: alpar
Date: Thu Aug 26 17:24:42 2004
New Revision: 1047
Modified:
hugo/branches/hugo++/src/test/xy_test.cc
Log:
Changed output messages.
Modified: hugo/branches/hugo++/src/test/xy_test.cc
==============================================================================
--- hugo/branches/hugo++/src/test/xy_test.cc (original)
+++ hugo/branches/hugo++/src/test/xy_test.cc Thu Aug 26 17:24:42 2004
@@ -7,7 +7,7 @@
int main()
{
- cout << "Testing classes xy and boundingbox." << endl;
+ cout << "Testing classes `xy' and `boundingbox'." << endl;
typedef xy<int> XY;
@@ -33,10 +33,10 @@
typedef BoundingBox<int> BB;
BB doboz1;
- check(doboz1.empty(), "empty? Should be.");
+ check(doboz1.empty(), "It should be empty.");
doboz1 += a;
- check(!doboz1.empty(), "empty? Should not be.");
+ check(!doboz1.empty(), "It should not be empty.");
doboz1 += b;
check(doboz1.bottomLeft().x==1 &&
@@ -46,19 +46,19 @@
"added points to box");
seged.x=2;seged.y=3;
- check(doboz1.inside(seged),"Inside? It should be.");
+ check(doboz1.inside(seged),"It should be inside.");
seged.x=1;seged.y=3;
- check(doboz1.inside(seged),"Inside? It should be.");
+ check(doboz1.inside(seged),"It should be inside.");
seged.x=0;seged.y=3;
- check(!doboz1.inside(seged),"Inside? It should not be.");
+ check(!doboz1.inside(seged),"It should not be inside.");
BB doboz2(seged);
check(!doboz2.empty(),
- "empty? Should not be. Constructed from 1 point.");
+ "It should not be empty. Constructed from 1 point.");
doboz2 += doboz1;
check(doboz2.inside(seged),
- "Not inside? It should be. Incremented a box with an other.");
+ "It should be inside. Incremented a box with an other.");
}
More information about the Lemon-commits
mailing list