Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robdockins committed Sep 29, 2020
1 parent da2e2c5 commit 2d2e2b9
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 96 deletions.
1 change: 1 addition & 0 deletions tests/issues/issue226.icry.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Primitive Types
lengthFromThenTo : # -> # -> # -> #
max : # -> # -> #
min : # -> # -> #
prime : # -> Prop
Rational : *
Ring : * -> Prop
Round : * -> Prop
Expand Down
4 changes: 4 additions & 0 deletions tests/regression/instance.cry
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ fieldRational = recip
fieldFloat : {e, p} (ValidFloat e p) => Float e p -> Float e p
fieldFloat = recip

/** instance (prime p) => Field (Z p) */
fieldZ : {p} prime p => Z p -> Z p
fieldZ = recip

////////////////////////////////////////////////////////////////////////////////
// Round

Expand Down
Loading

0 comments on commit 2d2e2b9

Please sign in to comment.