mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-22 12:50:53 +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)
|
||
|
}
|