leo/tests/compiler/integers/u32/pow.leo

13 lines
270 B
Plaintext
Raw Normal View History

/*
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.
*/
2021-05-10 21:11:31 +03:00
function main(a: u32, b: u32, c: u32) -> bool {
2022-06-17 02:45:37 +03:00
return a ** 2u8 == a ** 2u16 && a ** b == c;
2021-05-10 21:11:31 +03:00
}