leo/compiler/tests/boolean/all.leo

8 lines
150 B
Plaintext

// !(true && (false || true))
function main() {
let a = true;
let b = false || a;
let c = !(true && b);
console.assert(c == false);
}