mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-05-13 19:29:10 +08:00
19 lines
377 B
Go
19 lines
377 B
Go
// Based on aplay audio adaptor written by @colemanserious (https://github.com/colemanserious)
|
|
package audio
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hybridgroup/gobot/gobottest"
|
|
)
|
|
|
|
func TestAudioAdaptor(t *testing.T) {
|
|
a := NewAudioAdaptor("tester")
|
|
|
|
gobottest.Assert(t, a.Name(), "tester")
|
|
|
|
gobottest.Assert(t, len(a.Connect()), 0)
|
|
|
|
gobottest.Assert(t, len(a.Finalize()), 0)
|
|
}
|