]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scripts/Arithmetic.sts
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scripts / Arithmetic.sts
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scripts/Arithmetic.sts b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scripts/Arithmetic.sts
new file mode 100644 (file)
index 0000000..e8f7dce
--- /dev/null
@@ -0,0 +1,12 @@
+> 1+1
+2
+> 1-1
+0
+> 1+1.0
+2.0
+> 2*5
+10
+> 4/3
+1.3333333333333333
+> 4 `div` 3
+1
\ No newline at end of file