summaryrefslogtreecommitdiffstats
path: root/tests/010
diff options
context:
space:
mode:
Diffstat (limited to 'tests/010')
-rw-r--r--tests/010/tree.tl12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/010/tree.tl b/tests/010/tree.tl
index 06d02ce6..f5bfac42 100644
--- a/tests/010/tree.tl
+++ b/tests/010/tree.tl
@@ -5,8 +5,16 @@
(test tr #T(()))
-(test (treep tr) t)
-(test (treep 42) nil)
+(mtest
+ (treep tr) t
+ (treep 42) nil)
+
+(mtest
+ (len #T()) 0
+ (len #T(() 1)) 1
+ (len #T(() 1 2)) 2
+ (len #T(() 1 2 3)) 3
+ (len #T(() 1 1 1)) 3)
(each ((n keys))
(tree-insert tr n))