leo/tests/compiler/group/negate.leo
2022-10-03 14:56:14 -07:00

11 lines
166 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/eq.in
*/
transition main(a: group, b: group) -> bool {
console.assert(-a == b);
return -a == b;
}