MCPcopy Index your code
hub / github.com/buger/jsonparser / TestFuzzSetHarnessCoverage

Function TestFuzzSetHarnessCoverage

set_spec_test.go:47–54  ·  view source on GitHub ↗

Verifies: SYS-REQ-009 [fuzz] MCDC SYS-REQ-009: N/A

(t *testing.T)

Source from the content-addressed store, hash-verified

45// Verifies: SYS-REQ-009 [fuzz]
46// MCDC SYS-REQ-009: N/A
47func TestFuzzSetHarnessCoverage(t *testing.T) {
48 if got := FuzzSet([]byte(`{"test":"input"}`)); got != 1 {
49 t.Fatalf("expected FuzzSet success path to return 1, got %d", got)
50 }
51 if got := FuzzSet([]byte(``)); got != 0 {
52 t.Fatalf("expected FuzzSet failure path to return 0, got %d", got)
53 }
54}

Callers

nothing calls this directly

Calls 1

FuzzSetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…