test: add all plutus conformance tests
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- empty constr
|
||||
(program 1.1.0
|
||||
(constr 0 )
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
(program 1.1.0 (constr 0))
|
||||
@@ -0,0 +1,4 @@
|
||||
-- constr with an argument
|
||||
(program 1.1.0
|
||||
(constr 0 (con integer 1))
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
(program 1.1.0 (constr 0 (con integer 1)))
|
||||
@@ -0,0 +1,4 @@
|
||||
-- constr can have arbitrary terms in it
|
||||
(program 1.1.0
|
||||
(constr 1 (con integer 1) (lam x x) (constr 0 (con integer 1)))
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
(program 1.1.0 (constr 1 (con integer 1) (lam x x) (constr 0 (con integer 1))))
|
||||
@@ -0,0 +1,4 @@
|
||||
-- constr is strict in all its arguments
|
||||
(program 1.1.0
|
||||
(constr 0 (error))
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
evaluation failure
|
||||
@@ -0,0 +1,4 @@
|
||||
-- constr is strict in all its arguments
|
||||
(program 1.1.0
|
||||
(constr 0 (con integer 1) (error))
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
evaluation failure
|
||||
@@ -0,0 +1,4 @@
|
||||
-- constr can't be used before 1.1.0
|
||||
(program 1.0.0
|
||||
(constr 0 )
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
parse error
|
||||
Reference in New Issue
Block a user