leo/tests/parser/expression/binary/bit_and.leo
2022-06-16 12:53:53 -07:00

28 lines
315 B
Plaintext

/*
namespace: ParseExpression
expectation: Pass
*/
1 & 1
2&3
1 & 2 & 3
1 == 2 & 3 == 4
1 & 2 & 3
1 == 2 & 3 == 4 & 5 == 6
!-x.and(y)
x.and(y).and(y).and(y)
-x.and(y)
(-x).and(y)
-(x.and(y))
(-x.and(y)).and(y)
!x.and(y)
(!x).and(y)
!(x.and(y))
(!x.and(y)).and(y)
(x.and(y) & x.and(y)).and(x.and(y) & x.and(y))