leo/tests/compiler/integers/u8/console_assert.leo

12 lines
178 B
Plaintext
Raw Normal View History

2021-05-10 21:11:31 +03:00
/*
namespace: Compile
expectation: Pass
input_file: inputs/eq.in
2021-05-10 21:11:31 +03:00
*/
function main(a: u8, b: u8) -> bool {
let ret: bool = a == b;
console.assert(ret);
return ret;
2021-05-10 21:11:31 +03:00
}