Verifies: SYS-REQ-009 [mcdc]
(t *testing.T)
| 138 | |
| 139 | // Verifies: SYS-REQ-009 [mcdc] |
| 140 | func TestCodeMCDC_CalcAllocateSpaceEmptyKey(t *testing.T) { |
| 141 | keys := []string{"a", "", "b"} |
| 142 | if got := calcAllocateSpace(keys, []byte(`42`), false, false); got <= 0 { |
| 143 | t.Fatalf("expected positive allocation, got %d", got) |
| 144 | } |
| 145 | } |
nothing calls this directly
no test coverage detected