mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-15 17:40:51 +00:00
20 lines
260 B
Go
20 lines
260 B
Go
|
package voicemeeter_test
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"testing"
|
||
|
|
||
|
"github.com/onyx-and-iris/voicemeeter-api-go/voicemeeter"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
vmRem = voicemeeter.NewRemote("banana")
|
||
|
)
|
||
|
|
||
|
func TestMain(m *testing.M) {
|
||
|
vmRem.Login()
|
||
|
code := m.Run()
|
||
|
vmRem.Logout()
|
||
|
os.Exit(code)
|
||
|
}
|