mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
remove unnecessary test
This commit is contained in:
parent
5ab2ef0c6a
commit
1827b9558b
@ -18,25 +18,6 @@ public override void SetUp()
|
||||
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]
|
||||
public void StartServerTest()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user