mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-24 22:00:52 +00:00
70d69f5599
example in readme updated. level pooler implemented, runs in its own goroutine. Remote type now exported observers example updated.
30 lines
742 B
Go
30 lines
742 B
Go
package voicemeeter
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestGetPhysStrip(t *testing.T) {
|
|
//t.Skip("skipping test")
|
|
__strip := newPhysicalStrip(0, newPotatoKind())
|
|
t.Run("Should return a physical strip type", func(t *testing.T) {
|
|
assert.NotNil(t, __strip)
|
|
})
|
|
t.Run("Should return 'PhysicalStrip0'", func(t *testing.T) {
|
|
assert.Equal(t, "PhysicalStrip0", __strip.String())
|
|
})
|
|
}
|
|
|
|
func TestGetVirtStrip(t *testing.T) {
|
|
//t.Skip("skipping test")
|
|
__strip := newVirtualStrip(4, newPotatoKind())
|
|
t.Run("Should return a basic kind", func(t *testing.T) {
|
|
assert.NotNil(t, __strip)
|
|
})
|
|
t.Run("Should return 'VirtualStrip4'", func(t *testing.T) {
|
|
assert.Equal(t, "VirtualStrip4", __strip.String())
|
|
})
|
|
}
|