leo/compiler/tests/boolean/all.leo

8 lines
150 B
Plaintext
Raw Normal View History

// !(true && (false || true))
function main() {
2020-07-17 22:59:18 +03:00
const a = true;
const b = false || a;
const c = !(true && b);
assert_eq!(c, false);
}