X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d76bb5b289b65bf4bfeb1e8b4c84b34693e4c73d..dd9f8b6bb6935360a8271dc3e8749fb026b601a8:/tests/geometry/size.cpp diff --git a/tests/geometry/size.cpp b/tests/geometry/size.cpp index abc3591786..36925e0b21 100644 --- a/tests/geometry/size.cpp +++ b/tests/geometry/size.cpp @@ -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 );