Test string functions

This commit is contained in:
madmaurice 2021-04-03 18:48:10 +02:00
parent 11ee4d006b
commit 0620c777bf

View file

@ -1 +1,9 @@
(expect "hello has 5 letters" (= (length "hello") 5)) (expect "length of string" (= (length "hello") 5))
(expect "string-upcase" (string= (string-upcase "helLo") "HELLO"))
(expect "string-downcase" (string= (string-downcase "HEllO") "hello"))
(expect "string-capitalize"
(string= (string-capitalize "hello world i like cheese")
"Hello World I Like Cheese"))