(t *testing.T)
| 142 | } |
| 143 | |
| 144 | func TestOptimizeNot_QuadrupleNegation(t *testing.T) { |
| 145 | // !!!!X → X |
| 146 | inner := prop("github.event_name") |
| 147 | node := not1(not1(not1(not1(inner)))) |
| 148 | assertRender(t, "github.event_name", node, "!!!!X → X") |
| 149 | } |
| 150 | |
| 151 | func TestOptimizeNot_DoubleNegation_FunctionCall(t *testing.T) { |
| 152 | // !!contains(…) → contains(…) — safe because contains is not a status function |
nothing calls this directly
no test coverage detected