(t *testing.T)
| 134 | } |
| 135 | |
| 136 | func TestOptimizeNot_TripleNegation(t *testing.T) { |
| 137 | // !!!X → !X |
| 138 | inner := prop("github.event_name") |
| 139 | node := not1(not1(not1(inner))) |
| 140 | // !!!X = !!(! X) → !X |
| 141 | assertRender(t, "!(github.event_name)", node, "!!!X → !X") |
| 142 | } |
| 143 | |
| 144 | func TestOptimizeNot_QuadrupleNegation(t *testing.T) { |
| 145 | // !!!!X → X |
nothing calls this directly
no test coverage detected