mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 23:33:27 +03:00
16 lines
202 B
Plaintext
16 lines
202 B
Plaintext
function main(a: u32) {
|
|
let mut b = 5u32;
|
|
|
|
if a == 1 {
|
|
b = 1;
|
|
} else {
|
|
b = 0;
|
|
}
|
|
|
|
if a == 1 {
|
|
assert_eq!(b, 1);
|
|
} else {
|
|
assert_eq!(b, 0);
|
|
}
|
|
}
|