package audio

import "testing"

func TestToneSourceNextFrame(t *testing.T) {
    src := NewToneSource(48000)
    a := src.NextFrame()
    b := src.NextFrame()
    if a == b {
        t.Fatal("expected varying frames")
    }
}
