046 sym cert bridge

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

rec(k=1,d=1,via=bridge,det=1)|p0=[-1]|p1=[1,1]
rec(k=2,d=1,via=bridge,det=1)|p0=[0]|p1=[2,1]|p2=[-2,-1]
rec(k=2,d=1,via=bridge,det=1)|p0=[0]|p1=[1,2]|p2=[4,2]
rec(k=1,d=1,via=bridge,det=0)|p0=[0]|p1=[2,1]
malformed-cert

Expected output

rec(k=1,d=1,via=bridge,det=1)|p0=[-1]|p1=[1,1]
rec(k=2,d=1,via=bridge,det=1)|p0=[0]|p1=[2,1]|p2=[-2,-1]
rec(k=2,d=1,via=bridge,det=1)|p0=[0]|p1=[1,2]|p2=[4,2]
rec(k=1,d=1,via=bridge,det=0)|p0=[0]|p1=[2,1]
malformed-cert

Flows

flow ~cert-seed click a branch to expand · @labels scroll to their anchor
cert-seed (body: "p0=[-1]|p1=[1]")
flow ~cert-seed click a branch to expand · @labels scroll to their anchor
cert-seed (body: "p0=[1,0]|p1=[-1,1]")
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: √((1e0+x)))
flow ~cert-seed click a branch to expand · @labels scroll to their anchor
cert-seed (body: "p0=[1]|p1=[0,1]")
flow ~read-stdin click a branch to expand · @labels scroll to their anchor
read-stdin

Test Configuration

MUST_RUN

stdin:

junk cert, not parseable