Fix test after https://codereview.scilab.org/#/c/13213/ (test_run graphics bug_4964)
[scilab.git] / scilab / modules / graphics / tests / nonreg_tests / bug_4964.dia.ref
index e1b0e1b..30db771 100644 (file)
 plot2d(1:10,1:10,1,strf="020")
 drawaxis(x=2:7,y=4,dir='u',tics='v')
 e=gce();
-e.format_n
- ans  =
-    
-e.format_n='%0.0fcm'
+assert_checkequal(e.format_n, "");
+// Check that the display does not crash
+e.format_n = "%0.0fcm"
  e  =
  
 Handle of type "Axis" with properties:
@@ -38,7 +36,11 @@ tics_labels = ["2cm","3cm","4cm","5cm","6cm","7cm"]
 format_n = "%0.0fcm"
 labels_font_size = 0
 labels_font_color = -1
+labels_font_style = 6
 fractional_font = "off"
 clip_state = "off"
 clip_box = []
 user_data = []
+tag = 
+assert_checkequal(e.format_n, "%0.0fcm");
+assert_checkequal(e.tics_labels, string(2:7)+"cm");