[cacsd] fix nyquist test 42/19542/2
Adeline CARNIS [Thu, 23 Nov 2017 14:00:15 +0000 (15:00 +0100)]
Change-Id: Ie3855f20d871861a9cd07289b1518a89296f2b13

scilab/modules/cacsd/tests/unit_tests/nyquist.dia.ref
scilab/modules/cacsd/tests/unit_tests/nyquist.tst

index b9f9c78..a4f336c 100644 (file)
@@ -164,5 +164,5 @@ F2=syslin("c",(0.88*2.5*0.8)/((0.25*%s+1)*(0.8*%s+1)));
 F3=syslin("c",(100*2.5*0.8)/((0.25*%s+1)*(0.8*%s+1)));
 nyquist ([F1;F2;F3],0.0 ,1000,["F1(Kr=1)";"F2(Kr=0,88)";"F3(Kr=10)"],%f)
 a=gca();
-assert_checkequal(a.children(1).links.foreground, [3, 2, 1]); // [green blue black]
+assert_checkequal(a.children(1).links.foreground, [3, 2, 1]'); // [green blue black]
 driver(old);
index 1f17823..6812d3c 100644 (file)
@@ -165,5 +165,5 @@ F2=syslin("c",(0.88*2.5*0.8)/((0.25*%s+1)*(0.8*%s+1)));
 F3=syslin("c",(100*2.5*0.8)/((0.25*%s+1)*(0.8*%s+1)));
 nyquist ([F1;F2;F3],0.0 ,1000,["F1(Kr=1)";"F2(Kr=0,88)";"F3(Kr=10)"],%f)
 a=gca();
-assert_checkequal(a.children(1).links.foreground, [3, 2, 1]); // [green blue black]
+assert_checkequal(a.children(1).links.foreground, [3, 2, 1]'); // [green blue black]
 driver(old);