summaryrefslogtreecommitdiffstats
path: root/tests/010
diff options
context:
space:
mode:
Diffstat (limited to 'tests/010')
-rw-r--r--tests/010/hash.tl6
-rw-r--r--tests/010/tree.tl5
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/010/hash.tl b/tests/010/hash.tl
new file mode 100644
index 00000000..b8c386e2
--- /dev/null
+++ b/tests/010/hash.tl
@@ -0,0 +1,6 @@
+(load "../common")
+
+(mtest
+ (uni #H(() ("a") ("b")) #H(() ("b") ("c"))) (("a") ("b") ("c"))
+ (diff #H(() ("a") ("b")) #H(() ("b") ("c"))) (("a"))
+ (isec #H(() ("a") ("b")) #H(() ("b") ("c"))) (("b")))
diff --git a/tests/010/tree.tl b/tests/010/tree.tl
index 86a21167..c2fe5382 100644
--- a/tests/010/tree.tl
+++ b/tests/010/tree.tl
@@ -127,3 +127,8 @@
tr #T((identity < =) 1 2 3)
(copy-search-tree tr) #T((identity < =) 1 2 3)
(make-similar-tree tr) #T((identity < =))))
+
+(mtest
+ (uni #T(() "a" "b") #T(() "b" "c")) ("a" "b" "c")
+ (diff #T(() "a" "b") #T(() "b" "c")) ("a")
+ (isec #T(() "a" "b") #T(() "b" "c")) ("b"))