(arr []*WaveFile, name string)
| 142 | } |
| 143 | |
| 144 | func containsFile(arr []*WaveFile, name string) bool { |
| 145 | for _, f := range arr { |
| 146 | if f.Name == name { |
| 147 | return true |
| 148 | } |
| 149 | } |
| 150 | return false |
| 151 | } |
| 152 | |
| 153 | func TestDelete(t *testing.T) { |
| 154 | initDb(t) |