leo/tests/parser/expression/unary/abs.leo
2022-06-16 12:06:46 -07:00

15 lines
175 B
Plaintext

/*
namespace: ParseExpression
expectation: Pass
*/
x.abs()
x.abs().abs().abs()
-x.abs()
(-x).abs()
-(x.abs())
(-x.abs()).abs()
!x.abs()
(!x).abs()
!(x.abs())
(!x.abs()).abs()