lib/lisp/tests/boot-tests.nydp in nydp-0.0.7 vs lib/lisp/tests/boot-tests.nydp in nydp-0.0.8
- old
+ new
@@ -51,9 +51,14 @@
(with (zi "hello" chi "world")
(let hsh { (joinstr " " zi chi) 10 "yesterday" 11 }
(list "hello world" (hash-get hsh "hello world") "yesterday" (hash-get hsh "yesterday"))))
("hello world" 10 "yesterday" 11)))
+ (suite "strings"
+ ("length"
+ (len "foo-bar")
+ 7))
+
(suite "list management"
("'pair breaks a list into pairs"
(pairs '(1 a 2 b 3 c))
((1 a) (2 b) (3 c)))