X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e8f9a4980bb865cfc14e9e1d423181ee2efd17e..b20573601fb6a6f350eb155433c39ca1532a226d:/tests/geometry/size.cpp diff --git a/tests/geometry/size.cpp b/tests/geometry/size.cpp index 160f6241b1..36925e0b21 100644 --- a/tests/geometry/size.cpp +++ b/tests/geometry/size.cpp @@ -1,7 +1,7 @@ /////////////////////////////////////////////////////////////////////////////// // Name: tests/geometry/size.cpp // Purpose: wxSize unit test -// Author: Vadim Zeitlin +// Author: Wlodzimierz ABX Skiba // Created: 2004-12-14 // RCS-ID: $Id$ // Copyright: (c) 2004 wxWindows @@ -58,6 +58,8 @@ void SizeTestCase::Operators() CPPUNIT_ASSERT( s3.GetWidth()==2 && s3.GetHeight()==2 ); s3 = s1 * 2; CPPUNIT_ASSERT( s3.GetWidth()==2 && s3.GetHeight()==4 ); + s3 = 2 * s1; + CPPUNIT_ASSERT( s3.GetWidth()==2 && s3.GetHeight()==4 ); s3 = s3 / 2; CPPUNIT_ASSERT( s3.GetWidth()==1 && s3.GetHeight()==2 );