--------------------------------------------------------------------------- NOT constant folding ---------------------------------------------------------------------------
(t *testing.T)
| 106 | // --------------------------------------------------------------------------- |
| 107 | |
| 108 | func TestOptimizeNot_TrueLiteral(t *testing.T) { |
| 109 | assertRender(t, "false", not1(boolLit(true)), "!true → false") |
| 110 | } |
| 111 | |
| 112 | func TestOptimizeNot_FalseLiteral(t *testing.T) { |
| 113 | assertRender(t, "true", not1(boolLit(false)), "!false → true") |
nothing calls this directly
no test coverage detected