MCPcopy Create free account
hub / github.com/github/gh-aw / TestOptimizeAnd_IdentityTrueBoth

Function TestOptimizeAnd_IdentityTrueBoth

pkg/workflow/expression_optimizer_test.go:176–179  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

174}
175
176func 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)

Callers

nothing calls this directly

Calls 3

and2Function · 0.85
boolLitFunction · 0.85
assertRenderFunction · 0.85

Tested by

no test coverage detected