mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 08:31:33 +03:00
13 lines
182 B
Plaintext
13 lines
182 B
Plaintext
function main(a: u32, b: u32) {
|
|
let mut c = 0u32;
|
|
|
|
if a == 1 {
|
|
c = 1;
|
|
} else if a == 2 {
|
|
c = 2;
|
|
} else {
|
|
c = 3;
|
|
}
|
|
|
|
assert_eq!(c, b);
|
|
} |