remove unnecessary test

This commit is contained in:
vis2k 2021-09-06 17:25:59 +08:00
parent 5ab2ef0c6a
commit 1827b9558b

View File

@ -18,25 +18,6 @@ public override void SetUp()
manager = gameObject.AddComponent<NetworkManager>(); manager = gameObject.AddComponent<NetworkManager>();
} }
[Test]
public void VariableTest()
{
Assert.That(manager.dontDestroyOnLoad, Is.True);
Assert.That(manager.runInBackground, Is.True);
Assert.That(manager.autoStartServerBuild, Is.True);
Assert.That(manager.serverTickRate, Is.EqualTo(30));
Assert.That(manager.offlineScene, Is.Empty);
Assert.That(manager.networkAddress, Is.EqualTo("localhost"));
Assert.That(manager.maxConnections, Is.EqualTo(100));
Assert.That(manager.autoCreatePlayer, Is.True);
Assert.That(manager.spawnPrefabs, Is.Empty);
Assert.That(manager.numPlayers, Is.Zero);
Assert.That(NetworkManager.networkSceneName, Is.Empty);
Assert.That(NetworkManager.startPositionIndex, Is.Zero);
Assert.That(NetworkManager.startPositions, Is.Empty);
}
[Test] [Test]
public void StartServerTest() public void StartServerTest()
{ {