1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

remove acklist test for the moment

This commit is contained in:
v2ray 2016-07-01 11:57:06 +02:00
parent aa46e4ea05
commit 48d4f5b7bb
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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)
}