diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-04-10 09:38:50 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-13 22:40:52 +0100 |
commit | bb8e600a93557207410cf11977d19bb5bc133fcc (patch) | |
tree | 49b487bdede7ac0d7f4adde5a024a8d6bf3c558c /test | |
parent | 4fd33b18760b97aad2c542efd3ff7d16f2e9f373 (diff) | |
download | usdx-bb8e600a93557207410cf11977d19bb5bc133fcc.tar.gz usdx-bb8e600a93557207410cf11977d19bb5bc133fcc.tar.xz usdx-bb8e600a93557207410cf11977d19bb5bc133fcc.zip |
test/utils/rectangle: removed deprecated ctor
Diffstat (limited to '')
-rw-r--r-- | test/utils/rectangle.cpp | 3 |
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); |