voicemeeter/helper_test.go
onyx-and-iris dd895daffb float/string getter/setter tests added
test helper added
2022-08-22 22:34:03 +01:00

25 lines
271 B
Go

package voicemeeter
import (
"os"
"testing"
"time"
)
var (
vm = NewRemote("potato")
)
func TestMain(m *testing.M) {
vm.Login()
code := m.Run()
vm.Logout()
os.Exit(code)
}
func sync() {
time.Sleep(30 * time.Millisecond)
for vm.Pdirty() || vm.Mdirty() {
}
}