This website requires JavaScript.
Explore
Help
Sign In
AleoHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/AleoHQ/leo.git
synced
2024-12-21 16:41:42 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2ee28d5301
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