mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-15 17:40:51 +00:00
bus unit tests added
This commit is contained in:
parent
967793eacb
commit
cb68b8acec
@ -49,3 +49,27 @@ func TestStrip5Gain(t *testing.T) {
|
|||||||
t.Error("TestStrip5Gain did not match -20.8")
|
t.Error("TestStrip5Gain did not match -20.8")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestStrip3Mc(t *testing.T) {
|
||||||
|
//t.Skip("skipping test")
|
||||||
|
vmRem.Strip[3].SetMc(true)
|
||||||
|
if vmRem.Strip[3].GetMc() != true {
|
||||||
|
t.Error("TestStrip3Mc did not match true")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestBus3Eq(t *testing.T) {
|
||||||
|
//t.Skip("skipping test")
|
||||||
|
vmRem.Bus[0].SetEq(true)
|
||||||
|
if vmRem.Bus[0].GetEq() != true {
|
||||||
|
t.Error("TestBus3Eq did not match true")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestBus4Label(t *testing.T) {
|
||||||
|
//t.Skip("skipping test")
|
||||||
|
vmRem.Bus[4].SetLabel("test0")
|
||||||
|
if vmRem.Bus[4].GetLabel() != "test0" {
|
||||||
|
t.Error("TestBus4Label did not match test0")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user