diff options
Diffstat (limited to 'test1.sce')
-rw-r--r-- | test1.sce | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -40,12 +40,12 @@ else end /////////Test case for **) digitrevorder ////////// - -x = [%i,1,3,6*%i] ; +i = %i ; +x = [i,1,3,6*i] ; b = 2; -[y i]=digitrevorder(x,b); +[y ii]=digitrevorder(x,b); -if(y == [%i 3 1 6*%i] & i == [1 3 2 4]) +if(y == [i 3 1 6*i] & ii == [1 3 2 4]) test_pass=[test_pass,1] else test_pass=[test_pass,0] |