Coverage report: /home/runner/work/geb/geb/test/lambda-experimental.lisp
Kind | Covered | All | % |
expression | 16 | 42 | 38.1 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
3
(define-test geb.lambda.experimental :parent geb-test-suite)
5
(def test-term '(lambda (x y z) (+ x y (lambda (a b c) (+ a b c z)))))
8
'(lambda x (lambda y (lambda z (+ x y (lambda a (lambda b (lambda c (+ a b c z)))))))))
14
(+ ,(geb.lambda.experimental:make-index :depth 2)
15
,(geb.lambda.experimental:make-index :depth 1)
19
(+ ,(geb.lambda.experimental:make-index :depth 2)
20
,(geb.lambda.experimental:make-index :depth 1)
21
,(geb.lambda.experimental:make-index :depth 0)
22
,(geb.lambda.experimental:make-index :depth 3))))))))))
24
(define-test curry-expands-properly
25
:parent geb.lambda.experimental
26
(is equalp (geb.lambda.experimental:curry-lambda test-term)
29
(define-test nameless-works-properly
30
:parent geb.lambda.experimental
31
(is equalp (geb.lambda.experimental:nameless curried-term) nameless-term))
33
(define-test mixin-works-well
34
:parent geb.lambda.experimental
36
(geb.lambda.spec:pair (geb.lambda.spec:unit) (geb.lambda.spec:unit))
37
(geb.lambda.spec:pair (geb.lambda.spec:unit) (geb.lambda.spec:unit))))