mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-17 02:47:51 +01:00
16 lines
238 B
Go
16 lines
238 B
Go
package packet
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestMsgDropReqPacket(t *testing.T) {
|
|
pkt1 := &MsgDropReqPacket{
|
|
MsgID: 90,
|
|
FirstSeq: PacketID{Seq: 91},
|
|
LastSeq: PacketID{Seq: 92},
|
|
}
|
|
pkt1.SetHeader(59, 100)
|
|
testPacket(pkt1, t)
|
|
}
|