add helper function to build example WiFi struct

to be used in the rest of the tests, basically
This commit is contained in:
Kent Gruber 2018-05-01 22:36:26 -04:00
commit 92395b6170

View file

@ -1,3 +1,7 @@
package network
import "testing"
func buildExampleWiFi() *WiFi {
return NewWiFi(buildExampleEndpoint(), func(ap *AccessPoint) {}, func(ap *AccessPoint) {})
}