test_an_undecided_symbol_keeps_every_definition¶
Tests › tests/test_gate_polarity.py
What this test is for
Why it exists
No config row: the build's choice is unknown here, so neither definition is dropped.
Given
conn = _macro_db(tmp_path)conn.execute("DELETE FROM config_defaults")
When
- —
Then
- ✓ sorted(macro_definitions(conn)["mem_calloc"]) equals [10, 11]
tests/test_gate_polarity.py:96 · its file's page
What it checks (1)
assert sorted(macro_definitions(conn)["mem_calloc"]) == [10, 11]observes_macro_dbviaconn
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_dbWhat 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.
- REQ-DDB-PIPE-003 measured