Fix test since 'wdim' property now linked to figure_size and not to axes_size. 18/10918/2
Vincent COUVERT [Thu, 21 Mar 2013 08:38:03 +0000 (09:38 +0100)]
Change-Id: I7da31f75d631585d2191b2f1b35fafcc6ddbc4d9

scilab/modules/graphics/tests/unit_tests/xset_xget.dia.ref
scilab/modules/graphics/tests/unit_tests/xset_xget.tst

index 224ac02..1070fd0 100644 (file)
@@ -73,9 +73,9 @@ out = xget("thickness");
 assert_checkequal(out, 5);
 // wdim wpdim
 out = xget("wdim");
-assert_checkequal(out, f.position([3, 4]));
+assert_checkequal(out, f.figure_size);
 out = xget("wpdim");
-assert_checkequal(out, f.position([3, 4]));
+assert_checkequal(out, f.figure_size);
 // wpos
 out = xget("wpos");
 assert_checkequal(out, f.position([1, 2]));
index 00a7233..0a37b8d 100644 (file)
@@ -90,9 +90,9 @@ assert_checkequal(out, 5);
 
 // wdim wpdim
 out = xget("wdim");
-assert_checkequal(out, f.position([3, 4]));
+assert_checkequal(out, f.figure_size);
 out = xget("wpdim");
-assert_checkequal(out, f.position([3, 4]));
+assert_checkequal(out, f.figure_size);
 
 // wpos
 out = xget("wpos");