2022-06-25 01:18:20 +01:00
|
|
|
package voicemeeter
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestGetPhysStrip(t *testing.T) {
|
|
|
|
//t.Skip("skipping test")
|
2022-06-30 20:08:46 +01:00
|
|
|
__strip := newPhysicalStrip(0, newPotatoKind())
|
2022-06-25 01:18:20 +01:00
|
|
|
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")
|
2022-06-30 20:08:46 +01:00
|
|
|
__strip := newVirtualStrip(4, newPotatoKind())
|
2022-06-25 01:18:20 +01:00
|
|
|
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())
|
|
|
|
})
|
|
|
|
}
|