gh#209: the answer is read from THIS turn, never an earlier one¶
Tests › tests/unit/api/final_text_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/api/final_text_test.cpp:300 · its file's page
What it checks (3)
CHECK(extract_final_text(convo, "Where is serve() defined?").empty())observesextract_final_textCHECK(final_text_or_reason(convo, "Where is serve() defined?") .rfind("(no response", 0) == 0)observesfinal_text_or_reasonCHECK(extract_final_text(answered, "Q2") == "A2")observesextract_final_text
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
gh#209: the answer is read from THIS turn, never an earlier one→extract_final_text→final_text_or_reasonWhat 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.