Bundled profiles have correct values¶
Tests › tests/unit/inference/profile_registry_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/inference/profile_registry_test.cpp:43 · its file's page
What it checks (15)
REQUIRE(p.name == "maximum")observesgetviapREQUIRE(p.n_batch == 2048)observesgetviapREQUIRE(p.n_threads == 0)observesgetviapREQUIRE(p.n_threads_batch == 0)observesgetviapREQUIRE(p.name == "balanced")observesgetviapREQUIRE(p.n_batch == 512)observesgetviapREQUIRE(p.n_threads == 0)observesgetviapREQUIRE(p.name == "minimal")observesgetviapREQUIRE(p.n_batch == 64)observesgetviapREQUIRE(p.n_threads == 2)observesgetviapREQUIRE(p.n_threads_batch == 2)observesgetviapREQUIRE(p.name == "background")observesgetviapREQUIRE(p.n_batch == 256)observesgetviapREQUIRE(p.n_threads >= 1)observesgetviapREQUIRE(p.n_threads_batch >= 1)observesgetviap
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
Bundled profiles have correct values→load_bundled→WHEN→get→REQUIREWhat 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.