diff options
Diffstat (limited to 'wav/wav_test.go')
| -rw-r--r-- | wav/wav_test.go | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/wav/wav_test.go b/wav/wav_test.go index 4fa64db..a641b8f 100644 --- a/wav/wav_test.go +++ b/wav/wav_test.go @@ -6,10 +6,20 @@ import ( ) func TestLoad(t *testing.T) { - wf, err := Load("../downloader/out.wav") + ch, err := Load("../downloader/out.wav") if err != nil { t.Error(err) } - fmt.Println(wf) + ct := 0 + + for _ = range ch { + //fmt.Println(i) + ct++ + if ct%10000 == 0 { + fmt.Println(ct) + } + } + + fmt.Println("COUNT: ", ct) } |
