mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
13 lines
167 B
Go
13 lines
167 B
Go
package utils
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestPing(t *testing.T) {
|
|
r := RunICMPPingLoop("127.0.0.1:23333", 4)
|
|
if r.PacketsLoss == r.PacketsSent {
|
|
t.Fatal(r)
|
|
}
|
|
}
|