mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
46dce930fb
commit
74297fd7fb
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user