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
2025-01-09 03:26:30 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
82a0afc17e
leo
/
compiler
/
tests
/
statements
/
conditional
/
assert.leo
8 lines
117 B
Plaintext
Raw
Normal View
History
Unescape
Escape
remove visibility syntax and functionality
2020-06-15 23:38:07 +03:00
function main(bit: u32) {
add type resolution for values and fix tests
2020-06-14 03:43:59 +03:00
if bit == 1 {
assert_eq!(bit, 1);
test conditional basic assert statements
2020-06-13 05:32:16 +03:00
} else {
add type resolution for values and fix tests
2020-06-14 03:43:59 +03:00
assert_eq!(bit, 0);
test conditional basic assert statements
2020-06-13 05:32:16 +03:00
}
}
Reference in New Issue
Copy Permalink