leo/tests/compiler/integers/u32/pow.leo
2022-06-16 16:45:37 -07:00

13 lines
270 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/pow.in
# This test might take to long to fully compile.
# If necessary we could move it to disabled_tests.
*/
function main(a: u32, b: u32, c: u32) -> bool {
return a ** 2u8 == a ** 2u16 && a ** b == c;
}