Add test; regen expectations

This commit is contained in:
d0cd 2022-10-25 16:22:47 -07:00
parent 9c44c38dc2
commit a904a1441a
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/*
namespace: Compile
expectation: Pass
*/
program test.aleo {
transition main(id_type: u8) -> bool {
if (id_type == 1u8) {
return true;
}
if (id_type == 2u8) {
console.assert(0u8 > id_type);
return false;
}
return false;
}
}

View File

@ -0,0 +1,10 @@
---
namespace: Compile
expectation: Pass
outputs:
- output:
- initial_input_ast: no input
initial_ast: aa1777f90d189c4127edc7419efa3134969a6db3e138bcde36095377d22452a3
unrolled_ast: aa1777f90d189c4127edc7419efa3134969a6db3e138bcde36095377d22452a3
ssa_ast: 672c4dd4f4eca31c458b8a55d2af1cd46fda4261578993f353b6cdf1818256de
flattened_ast: 5eacb46ae48246907ab7d5cda2b33d5e49504cccc22b04c9b3c48a4b939679b3