(t *testing.T)
| 197 | } |
| 198 | |
| 199 | func TestOptimizeAnd_TrueAndFalse(t *testing.T) { |
| 200 | assertRender(t, "false", and2(boolLit(true), boolLit(false)), "true && false → false (annihilation beats identity)") |
| 201 | } |
| 202 | |
| 203 | // --------------------------------------------------------------------------- |
| 204 | // AND – idempotent law (A && A → A) |
nothing calls this directly
no test coverage detected