test_a_spelled_out_include_guard_is_still_not_a_gate

Tests › tests/test_gate_polarity.py

passed Passed in the packaged run.

What this test is for

Why it exists

`#if !defined(FOO_H)` + `#define FOO_H` is an include guard, like `#ifndef FOO_H`.

Given

  1. —
→

When

  1. —
→

Then

  1. ✓ _gates("#if !defined(FOO_H)\n#define FOO_H\nint a;\n#endif\n") equals []

tests/test_gate_polarity.py:52 · its file's page

What it checks (1)

  1. assert _gates("#if !defined(FOO_H)\n#define FOO_H\nint a;\n#endif\n") == [] observes _gates

Where the product reaches it

  • main → query_main → _payload → export_search → corpus_payload → kconfig_space → _gates (flow)

Call flow

test_a_spelled_out_include_guard_is_still_not_a_gate→_gates

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.

test_a_spelled_out_include_guard_is_still_not_a_gate · 1 checks_gatesgate_harvesterREQ-DDB-PIPE-007 · measured
Also reaches 1 requirement

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