aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-04-10 09:38:50 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:40:52 +0100
commitbb8e600a93557207410cf11977d19bb5bc133fcc (patch)
tree49b487bdede7ac0d7f4adde5a024a8d6bf3c558c /test
parent4fd33b18760b97aad2c542efd3ff7d16f2e9f373 (diff)
downloadusdx-bb8e600a93557207410cf11977d19bb5bc133fcc.tar.gz
usdx-bb8e600a93557207410cf11977d19bb5bc133fcc.tar.xz
usdx-bb8e600a93557207410cf11977d19bb5bc133fcc.zip
test/utils/rectangle: removed deprecated ctor
Diffstat (limited to 'test')
-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);