leo/tests/parser/expression/unary/not.leo

20 lines
191 B
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
/*
2021-04-07 20:01:24 +03:00
namespace: ParseExpression
2021-03-30 01:45:10 +03:00
expectation: Pass
*/
!x
!x()
!!x
2022-06-16 22:06:46 +03:00
2022-06-16 22:53:53 +03:00
!-x.not()
2022-06-16 22:06:46 +03:00
x.not().not().not()
-x.not()
(-x).not()
-(x.not())
(-x.not()).not()
!x.not()
(!x).not()
!(x.not())
(!x.not()).not()