This commit is contained in:
vis2k 2021-05-13 12:58:42 +08:00
parent 46dce930fb
commit 74297fd7fb

View File

@ -179,7 +179,6 @@ public void OnDisconnectedEventCalled()
[Test] [Test]
public void ConnectionsDict() public void ConnectionsDict()
{ {
// listen // listen
NetworkServer.Listen(2); NetworkServer.Listen(2);
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0)); Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));
@ -211,7 +210,6 @@ public void OnConnectedOnlyAllowsNonZeroConnectionIds()
// 0 is for local player // 0 is for local player
// <0 is never used // <0 is never used
// listen // listen
NetworkServer.Listen(2); NetworkServer.Listen(2);
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0)); Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));
@ -231,7 +229,6 @@ public void OnConnectedOnlyAllowsNonZeroConnectionIds()
[Test] [Test]
public void ConnectDuplicateConnectionIds() public void ConnectDuplicateConnectionIds()
{ {
// listen // listen
NetworkServer.Listen(2); NetworkServer.Listen(2);
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0)); Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));