bug_568 fixed 13/16313/3
Cedric Delamarre [Thu, 2 Apr 2015 11:40:45 +0000 (13:40 +0200)]
// this insertion is correct in Scilab 6
aa=zeros(4,4,11);
bb(1,1,:)=aa(1,1,:);

Change-Id: I9c02f8df206866c98e192da0d3530052ac6c9ce2

scilab/modules/data_structures/tests/nonreg_tests/bug_568.dia.ref
scilab/modules/data_structures/tests/nonreg_tests/bug_568.tst

index 3eca2c2..ac5356f 100644 (file)
@@ -19,7 +19,6 @@
 //    and 2.8 alpha
 //
 //    fixed in CVS version
-// exec( "/home/huynh/poubelle/testNonReg/bug568.sce");
-// exec("e:\testNonReg\bug568.sce");
 aa=zeros(4,4,11);
-if execstr("bb(1,1,:)=aa(1,1,:)","errcatch") <> 999 then bugmes();quit;end
+bb(1,1,:)=aa(1,1,:);
+assert_checkequal(aa(1,1,:), bb);
index 65cc32d..5092fb6 100644 (file)
@@ -21,9 +21,6 @@
 //
 //    fixed in CVS version
 
-
-// exec( "/home/huynh/poubelle/testNonReg/bug568.sce");
-// exec("e:\testNonReg\bug568.sce");
-
 aa=zeros(4,4,11);
-if execstr("bb(1,1,:)=aa(1,1,:)","errcatch") <> 999 then pause,end
+bb(1,1,:)=aa(1,1,:);
+assert_checkequal(aa(1,1,:), bb);