mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 03:04:13 +03:00
commit rest of tests
This commit is contained in:
parent
3826293f31
commit
1a7a67e4c3
@ -1,19 +0,0 @@
|
|||||||
/*
|
|
||||||
namespace: Compile
|
|
||||||
expectation: Pass
|
|
||||||
input_file: inputs/dummy.in
|
|
||||||
*/
|
|
||||||
|
|
||||||
function one() -> u32 {
|
|
||||||
return 1u32;
|
|
||||||
}
|
|
||||||
|
|
||||||
function main(y: bool) -> bool {
|
|
||||||
let a: u32 = 0u32;
|
|
||||||
|
|
||||||
for i: u32 in 0u32..10u32 {
|
|
||||||
a = a + one();
|
|
||||||
}
|
|
||||||
|
|
||||||
return (a == 10u32) == y;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user