You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 22:56:30 +09:00
NetQueue fixes
This commit is contained in:
@@ -14,6 +14,12 @@ namespace UnitTests
|
||||
queue.Enqueue(2);
|
||||
queue.Enqueue(3);
|
||||
|
||||
if (queue.Contains(4))
|
||||
throw new Exception("NetQueue Contains failure");
|
||||
|
||||
if (!queue.Contains(2))
|
||||
throw new Exception("NetQueue Contains failure 2");
|
||||
|
||||
if (queue.Count != 3)
|
||||
throw new Exception("NetQueue failed");
|
||||
if (queue.TryDequeue() != 1)
|
||||
|
||||
Reference in New Issue
Block a user