mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-15 17:40:51 +00:00
8ca545b1c4
getters clear dirty params sync enabled. examples and tests updated
27 lines
314 B
Go
27 lines
314 B
Go
package voicemeeter_test
|
|
|
|
import (
|
|
"log"
|
|
"testing"
|
|
|
|
"github.com/onyx-and-iris/voicemeeter-api-go"
|
|
)
|
|
|
|
var (
|
|
vm, err = voicemeeter.NewRemote("potato", 30)
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
|
|
err = vm.Login()
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
defer vm.Logout()
|
|
|
|
m.Run()
|
|
}
|