summaryrefslogtreecommitdiff
path: root/tests/unit_tests/java_sum.tst
diff options
context:
space:
mode:
authorrupak2019-08-09 18:23:51 +0530
committerrupak2019-08-09 18:23:51 +0530
commit85bde50698bbdfd891ef194cd700d9a659bd50cd (patch)
tree5b09ea04150f1e11a18022e2145817d84828d563 /tests/unit_tests/java_sum.tst
downloadfossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.tar.gz
fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.tar.bz2
fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.zip
first commit
Diffstat (limited to 'tests/unit_tests/java_sum.tst')
-rw-r--r--tests/unit_tests/java_sum.tst5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit_tests/java_sum.tst b/tests/unit_tests/java_sum.tst
new file mode 100644
index 0000000..fac83d2
--- /dev/null
+++ b/tests/unit_tests/java_sum.tst
@@ -0,0 +1,5 @@
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+//=================================
+jimport org.scilab.contrib.toolboxskeleton.Sum;
+assert_checkequal(Sum.sum(7.0, 5.0), 12.0);
+//=================================