]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Set1.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Set1.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Set1.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Set1.scl
new file mode 100644 (file)
index 0000000..b868ecf
--- /dev/null
@@ -0,0 +1,9 @@
+import "StandardLibrary"\r
+\r
+s1 = Set.set [3,2,1,4]\r
+s2 = Set.set [9,8,3,2]\r
+s1s2 = Set.union s1 s2\r
+\r
+main = show s1s2\r
+--\r
+set [1, 2, 3, 4, 8, 9]
\ No newline at end of file