-
Notifications
You must be signed in to change notification settings - Fork 2
/
kinds_test.go
40 lines (35 loc) · 943 Bytes
/
kinds_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package voicemeeter
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestGetKindBasic(t *testing.T) {
//t.Skip("skipping test")
__kind := newBasicKind()
t.Run("Should return a basic kind", func(t *testing.T) {
assert.NotNil(t, __kind)
})
t.Run("Should equal 'Basic'", func(t *testing.T) {
assert.Equal(t, "Basic", __kind.String())
})
}
func TestGetKindBanana(t *testing.T) {
//t.Skip("skipping test")
__kind := newBananaKind()
t.Run("Should return a banana kind", func(t *testing.T) {
assert.NotNil(t, __kind)
})
t.Run("Should return 'Banana'", func(t *testing.T) {
assert.Equal(t, "Banana", __kind.String())
})
}
func TestGetKindPotato(t *testing.T) {
//t.Skip("skipping test")
__kind := newPotatoKind()
t.Run("Should return a potato kind", func(t *testing.T) {
assert.NotNil(t, __kind)
})
t.Run("Should return 'Potato'", func(t *testing.T) {
assert.Equal(t, "Potato", __kind.String())
})
}