leo/tests/compiler/group/add.leo

11 lines
185 B
Plaintext
Raw Normal View History

/*
namespace: Compile
expectation: Pass
input_file: inputs/three.in
*/
2022-10-04 00:56:14 +03:00
transition main(a: group, b: group, c: group) -> bool {
console.assert(a + b == c);
return a + b == c;
}