(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestSyncMapBase(t *testing.T) { |
| 12 | sm := NewSyncMap(0) |
| 13 | if mapLen := len(*sm.mapObj); mapLen != 0 { |
| 14 | t.Fatalf("unexpected length of map: %d", mapLen) |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | func TestSyncMapAddEvict(t *testing.T) { |
| 19 | sm := NewSyncMap(100) |
nothing calls this directly
no test coverage detected