Fix remaining acceptance tests to be V3-compatible

This commit is contained in:
KtorZ
2024-08-27 18:58:50 +02:00
parent d615b4f889
commit 48535636ed
59 changed files with 357 additions and 277 deletions

View File

@@ -21,6 +21,10 @@ validator foo_3(Foo { a0, .. }: Foo) {
mint(_redeemer, _policy_, _tx) {
a0 == 1
}
else(_) {
fail
}
}
test example_1() {
@@ -32,14 +36,15 @@ test example_2() {
}
test example_3() {
foo_3_mint(Foo { a0: 1, a1: False }, "", "", "")
foo_3.mint(Foo { a0: 1, a1: False }, "", "", "")
}
test example_4() {
let foo_4 = fn(Foo { a1, .. }) { a1 }
let foo_4 =
fn(Foo { a1, .. }) { a1 }
foo_4(Foo { a0: 1, a1: True })
}
test example_5((a, b) via fuzz.both(fuzz.int(), fuzz.int())) {
a + b == b + a
a + b == b + a
}