(t *testing.T)
| 24 | ) |
| 25 | |
| 26 | func TestMapKeysToSlice(t *testing.T) { |
| 27 | m := map[uint32]bool{1245: true, 2233: false, 341234: true} |
| 28 | s := MapKeysToSlice(m) |
| 29 | assert.Len(t, s, 3) |
| 30 | assert.Contains(t, s, uint32(1245)) |
| 31 | assert.Contains(t, s, uint32(341234)) |
| 32 | } |
nothing calls this directly
no test coverage detected