1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00
MiraiGo/utils/icmp_test.go
2021-12-26 13:08:38 +08:00

13 lines
161 B
Go

package utils
import (
"testing"
)
func TestPing(t *testing.T) {
r := RunICMPPingLoop("127.0.0.1", 4)
if r.PacketsLoss == r.PacketsSent {
t.Fatal(r)
}
}