]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/geometry/size.cpp
Do not generate wxEVT_PG_SELECTED with direct ClearSelection() and SelectProperty...
[wxWidgets.git] / tests / geometry / size.cpp
index 160f6241b1f316ac6049bed3f0f1eb40bc95f3ce..36925e0b212e035676919973c641d0e180ab160e 100644 (file)
@@ -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 );