mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
108c83a43a
Why? Suppose you have this: ```cs Assert.That(manager.networkAddress == "localhost"); ``` and suppose it fails, it will give you: "Expected True, but got False" which does not give you anything useful. Suppose you have this instead: ```cs Assert.That(manager.networkAddress, Is.EqualTo("localhost")); ``` Suppose it fails, now it will give you a much more useful error message: "Expected 'localhost' but got 'xxxxx'" It makes debugging tests a lot easier. |
||
---|---|---|
.. | ||
Mirror | ||
ScriptTemplates | ||
Mirror.meta | ||
ScriptTemplates.meta |