122 presence column add remove

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

frozen 10
frozen 20
alive 10
alive 20

Expected output

frozen 10
frozen 20
alive 10
alive 20

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: ents, capacity: 8, source: hp: i64, frozen: i64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: ents, source: hp: 10, frozen: 0)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: ents, source: hp: 20, frozen: 0)
flow ~sweep click a branch to expand · @labels scroll to their anchor
sweep (expr: ents)
flow ~sweep click a branch to expand · @labels scroll to their anchor
sweep (expr: ents)
flow ~sweep click a branch to expand · @labels scroll to their anchor
sweep (expr: ents)
flow ~sweep click a branch to expand · @labels scroll to their anchor
sweep (expr: ents)
flow ~sweep click a branch to expand · @labels scroll to their anchor
sweep (expr: ents)

Test Configuration

MUST_RUN