(t *testing.T)
| 174 | } |
| 175 | |
| 176 | func TestOptimizeAnd_IdentityTrueBoth(t *testing.T) { |
| 177 | node := and2(boolLit(true), boolLit(true)) |
| 178 | assertRender(t, "true", node, "true && true → true") |
| 179 | } |
| 180 | |
| 181 | // --------------------------------------------------------------------------- |
| 182 | // AND – boolean annihilation (A && false → false) |
nothing calls this directly
no test coverage detected