summaryrefslogtreecommitdiff
path: root/tests/unit_tests/test003_VerySimple/scilabcode/mainfunction.sci
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/test003_VerySimple/scilabcode/mainfunction.sci')
-rw-r--r--tests/unit_tests/test003_VerySimple/scilabcode/mainfunction.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unit_tests/test003_VerySimple/scilabcode/mainfunction.sci b/tests/unit_tests/test003_VerySimple/scilabcode/mainfunction.sci
new file mode 100644
index 0000000..12cc894
--- /dev/null
+++ b/tests/unit_tests/test003_VerySimple/scilabcode/mainfunction.sci
@@ -0,0 +1,10 @@
+function mainfunction()
+
+// ---------------------------------------
+// --- Initialization of the operands. ---
+// ---------------------------------------
+powerfactor = 3;
+disp(powerfactor)
+
+endfunction
+