Bundled profiles have correct values

Tests › tests/unit/inference/profile_registry_test.cpp

absent Not in the packaged run: no test report names it.

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)

  1. REQUIRE(p.name == "maximum") observes get via p
  2. REQUIRE(p.n_batch == 2048) observes get via p
  3. REQUIRE(p.n_threads == 0) observes get via p
  4. REQUIRE(p.n_threads_batch == 0) observes get via p
  5. REQUIRE(p.name == "balanced") observes get via p
  6. REQUIRE(p.n_batch == 512) observes get via p
  7. REQUIRE(p.n_threads == 0) observes get via p
  8. REQUIRE(p.name == "minimal") observes get via p
  9. REQUIRE(p.n_batch == 64) observes get via p
  10. REQUIRE(p.n_threads == 2) observes get via p
  11. REQUIRE(p.n_threads_batch == 2) observes get via p
  12. REQUIRE(p.name == "background") observes get via p
  13. REQUIRE(p.n_batch == 256) observes get via p
  14. REQUIRE(p.n_threads >= 1) observes get via p
  15. REQUIRE(p.n_threads_batch >= 1) observes get via p

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→REQUIRE

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.

Bundled profiles have correct values · 15 checksWHENfailure_detailREQ-API-012 · inferred
Also reaches 1 requirement

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