summaryrefslogtreecommitdiff
path: root/tests/test.sce
diff options
context:
space:
mode:
authorRupak Rokade2021-04-26 14:58:22 +0530
committerGitHub2021-04-26 14:58:22 +0530
commitc6fd117ed4944b99d5974c77c8a82a2f564f0539 (patch)
treea29484d05688642cb61bb7ced21e601a3be969da /tests/test.sce
parente43fd7fe8ac865bd26b2cd15f7574653870c775c (diff)
parent540c02f594fe49e47828a589115f282f95304b72 (diff)
downloadfossee-scilab-octave-toolbox-c6fd117ed4944b99d5974c77c8a82a2f564f0539.tar.gz
fossee-scilab-octave-toolbox-c6fd117ed4944b99d5974c77c8a82a2f564f0539.tar.bz2
fossee-scilab-octave-toolbox-c6fd117ed4944b99d5974c77c8a82a2f564f0539.zip
Merge pull request #2 from ananmaysuri/master
Capturing the original octave error messages and returning them to scilab
Diffstat (limited to 'tests/test.sce')
-rw-r--r--tests/test.sce7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test.sce b/tests/test.sce
index e53eed3..b3a7993 100644
--- a/tests/test.sce
+++ b/tests/test.sce
@@ -1,3 +1,6 @@
+exec builder.sce
+exec loader.sce
+
//exec build.sce
test_pass=[]
@@ -290,12 +293,12 @@ end
/////////Test case for bilinear //////////
-[b a] = octave_fun("bilinear","signal",[1 2 3], [4 5 6], 1, 1);
+[b a] = octave_fun("bilinear","signal",[1 2 3], [4 5 6], 1);
b = round(b*10000)/10000;
a = round(a*10000)/10000;
-if(round(a) == [1 7 18 14])
+if(round(a) == [1 -1 0])
test_pass=[test_pass,1];
else
test_pass=[test_pass,0];