first vban higher tests added

This commit is contained in:
onyx-and-iris 2022-06-23 14:07:36 +01:00
parent 4a1939092f
commit 53bf5557c1

View File

@ -73,3 +73,19 @@ func TestBus4Label(t *testing.T) {
t.Error("TestBus4Label did not match test0")
}
}
func TestVbanInStream0On(t *testing.T) {
//t.Skip("skipping test")
vmRem.Vban.InStream[0].SetOn(true)
if vmRem.Vban.InStream[0].GetOn() != true {
t.Error("TestVbanInStream0On did not match true")
}
}
func TestVbanOutStream6On(t *testing.T) {
//t.Skip("skipping test")
vmRem.Vban.OutStream[6].SetOn(true)
if vmRem.Vban.OutStream[6].GetOn() != true {
t.Error("TestVbanOutStream6On did not match true")
}
}