mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-22 04:40:53 +00:00
80a561d7fc
tests adjusted for potato. gainlayer unit test added factory method for bus mode added.
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.GetRemote("potato")
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
vmRem.Login()
|
|
code := m.Run()
|
|
vmRem.Logout()
|
|
os.Exit(code)
|
|
}
|