-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branches 'mariari/ccl-coverage-fixes' and 'artem/uncurry-case'
- Loading branch information
Showing
10 changed files
with
235 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
(in-package :geb-test) | ||
|
||
(define-test geb.trans :parent geb-test-suite) | ||
|
||
(def geb.pair-of-size-4 | ||
(to-bitc | ||
(pair (->right so1 bool) | ||
(->left so1 bool)))) | ||
|
||
(define-test geb.trans-pair :parent geb.trans | ||
(is = 4 (codom geb.pair-of-size-4) | ||
"both objects have max size of 2, pair them size 4") | ||
(is = 1 (dom geb.pair-of-size-4) | ||
"Our input is bool, thus 1 bit") | ||
(is obj-equalp #*1100 (gapply geb.pair-of-size-4 #*1) | ||
"Right should tag it with 1, with our 1 injected and our left should | ||
always be 00") | ||
(is obj-equalp #*1000 (gapply geb.pair-of-size-4 #*0) | ||
"Right should tag it with 1, with our 0 injected and our left should | ||
always be 00")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.