test_boundary_flags_logic¶
Tests › tests/test_r1_richness.py
What this test is for
Why it exists
The test says nothing about why.
Verifies REQ-DDB-SCHEMA-001 REQ-DDB-SCHEMA-002 REQ-DDB-SCHEMA-003 REQ-DDB-SCHEMA-004 REQ-DDB-SCHEMA-007
Given
- —
When
_boundary_flags(set(), {1})_boundary_flags({1}, set())_boundary_flags({1}, {1})
2 more
_boundary_flags({1}, {2})_boundary_flags({1}, {2, 3})
Then
- ✓ _boundary_flags(set(), {1}) equals (None, None)
- ✓ _boundary_flags({1}, set()) equals (None, None)
- ✓ _boundary_flags({1}, {1}) equals (0, 1)
- ✓ _boundary_flags({1}, {2}) equals (1, 2)
- ✓ _boundary_flags({1}, {2, 3}) equals (1, None)
tests/test_r1_richness.py:926 · its file's page
What it checks (5)
assert _boundary_flags(set(), {1}) == (None, None)observes_boundary_flagsassert _boundary_flags({1}, set()) == (None, None)observes_boundary_flagsassert _boundary_flags({1}, {1}) == (0, 1)observes_boundary_flagsassert _boundary_flags({1}, {2}) == (1, 2)observes_boundary_flagsassert _boundary_flags({1}, {2, 3}) == (1, None)observes_boundary_flags
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_boundary_flags_logic→_boundary_flagsWhat 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.
Requirements it verifies (5)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-SCHEMA-001 | catalog | unknown |
| REQ-DDB-SCHEMA-002 | catalog | unknown |
| REQ-DDB-SCHEMA-003 | catalog | unknown |
| REQ-DDB-SCHEMA-004 | catalog | unknown |
| REQ-DDB-SCHEMA-007 | catalog | unknown |