test_an_undecided_symbol_keeps_every_definition

Tests › tests/test_gate_polarity.py

passed Passed in the packaged run.

What this test is for

Why it exists

No config row: the build's choice is unknown here, so neither definition is dropped.

Given

  1. conn = _macro_db(tmp_path)
  2. conn.execute("DELETE FROM config_defaults")
→

When

  1. —
→

Then

  1. ✓ sorted(macro_definitions(conn)["mem_calloc"]) equals [10, 11]

tests/test_gate_polarity.py:96 · its file's page

What it checks (1)

  1. assert sorted(macro_definitions(conn)["mem_calloc"]) == [10, 11] observes _macro_db via conn

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_an_undecided_symbol_keeps_every_definition→_macro_db

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

Also reaches 1 requirement

Its run touches their code; that is reach, not proof.