remove acklist test for the moment

pull/215/head
v2ray 9 years ago
parent aa46e4ea05
commit 48d4f5b7bb
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -34,20 +34,3 @@ func TestRecivingWindow(t *testing.T) {
assert.Pointer(window.Remove(1)).Equals(seg2)
assert.Pointer(window.Remove(2)).Equals(seg3)
}
func TestACKList(t *testing.T) {
assert := assert.On(t)
ackList := new(ACKList)
ackList.Add(1, 2)
ackList.Add(3, 4)
seg := ackList.AsSegment()
assert.Byte(seg.Count).Equals(2)
ackList.Add(1, 3)
ackList.Clear(2)
seg = ackList.AsSegment()
assert.Byte(seg.Count).Equals(1)
}

Loading…
Cancel
Save