aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/rectangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/rectangle.cpp')
-rw-r--r--test/utils/rectangle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/utils/rectangle.cpp b/test/utils/rectangle.cpp
index faee50f9..2fa96aef 100644
--- a/test/utils/rectangle.cpp
+++ b/test/utils/rectangle.cpp
@@ -51,8 +51,7 @@ namespace usdx
void testInit()
{
- int coords[] = { 100, 150, 200, 250 };
- Rectangle<int> rect(coords);
+ Rectangle<int> rect(100, 150, 300, 400);
CPPUNIT_ASSERT_EQUAL(rect.get_left(), 100);
CPPUNIT_ASSERT_EQUAL(rect.get_top(), 150);