This website requires JavaScript.
Explore
Help
Sign In
ProvableHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/ProvableHQ/leo.git
synced
2024-11-30 23:33:27 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a86018c0ea
leo
/
compiler
/
tests
/
statements
/
conditional
/
assert.leo
8 lines
125 B
Plaintext
Raw
Normal View
History
Unescape
Escape
fix statement tests
2020-07-31 03:11:58 +03:00
function main(a: u32) {
if a == 1 {
start porting tests over
2020-08-17 03:20:47 +03:00
console.assert(a == 1);
test conditional basic assert statements
2020-06-13 05:32:16 +03:00
} else {
start porting tests over
2020-08-17 03:20:47 +03:00
console.assert(a == 0);
test conditional basic assert statements
2020-06-13 05:32:16 +03:00
}
}
Reference in New Issue
Copy Permalink