mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
More test cases
This commit is contained in:
parent
eb8b332d2e
commit
3222f36912
1 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,15 @@
|
|||
)
|
||||
|
||||
(test-group
|
||||
"predicates"
|
||||
;; Fails on cyclone, works on chibi
|
||||
;(test "test" (match "test" ((? string? s) s) (else #f)))
|
||||
|
||||
(test #(fromlist 1 2) (match '(1 2) ((a b) (vector 'fromlist a b))))
|
||||
(test #f (match 42 (X #f)))
|
||||
)
|
||||
|
||||
#;(test-group
|
||||
"official tests"
|
||||
|
||||
(test 2 (match (list 1 2 3) ((a b c) b)) )
|
||||
|
|
Loading…
Add table
Reference in a new issue