Skip to content

Commit

Permalink
add test file
Browse files Browse the repository at this point in the history
  • Loading branch information
andrevidela committed Oct 2, 2024
1 parent bc21157 commit ea9433a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/idris2/operators/operators004/Test.idr
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Data.Vect

typebind
Exists : (t : Type) -> (t -> Type) -> Type
Exists = DPair

val : Exists (n : Nat) | Vect n Nat
val = (4 ** [0,1,2,3])

1 change: 1 addition & 0 deletions tests/idris2/operators/operators004/expected
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1/1: Building Test (Test.idr)
3 changes: 3 additions & 0 deletions tests/idris2/operators/operators004/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
. ../../../testutils.sh

check Test.idr

0 comments on commit ea9433a

Please sign in to comment.