diff options
Diffstat (limited to 'tests/unit_tests/test002_Symbols/scilabcode/mainfunction.sci')
-rw-r--r-- | tests/unit_tests/test002_Symbols/scilabcode/mainfunction.sci | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/unit_tests/test002_Symbols/scilabcode/mainfunction.sci b/tests/unit_tests/test002_Symbols/scilabcode/mainfunction.sci new file mode 100644 index 0000000..f5d40b0 --- /dev/null +++ b/tests/unit_tests/test002_Symbols/scilabcode/mainfunction.sci @@ -0,0 +1,21 @@ +function mainfunction()
+
+// ---------------------------------------
+// --- Initialization of the operands. ---
+// ---------------------------------------
+
+v1 = %inf;
+v2 = %nan;
+v3 = %T;
+v4 = %F;
+v5 = %pi;
+
+disp(-v1)
+disp(v1+v2)
+disp(v2)
+disp(v3)
+disp(v4)
+disp(v5)
+
+endfunction
+
|