mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
formatting
This commit is contained in:
parent
b3bbec793f
commit
d7ee83d696
@ -26,10 +26,8 @@ public void OnSerializeAndDeserializeAllSafely()
|
||||
NetworkWriter observersWriter = new NetworkWriter();
|
||||
identity.OnSerializeAllSafely(true, ownerWriter, observersWriter);
|
||||
|
||||
// owner should have written something
|
||||
// owner & observers should have written something
|
||||
Assert.That(ownerWriter.Position, Is.GreaterThan(0));
|
||||
|
||||
// observers should have written something
|
||||
Assert.That(observersWriter.Position, Is.GreaterThan(0));
|
||||
|
||||
// reset component values
|
||||
@ -77,10 +75,8 @@ public void SerializationException()
|
||||
identity.OnSerializeAllSafely(true, ownerWriter, observersWriter);
|
||||
LogAssert.ignoreFailingMessages = false;
|
||||
|
||||
// owner should have written something
|
||||
// owner & observers should have written something
|
||||
Assert.That(ownerWriter.Position, Is.GreaterThan(0));
|
||||
|
||||
// observers should have written something
|
||||
Assert.That(observersWriter.Position, Is.GreaterThan(0));
|
||||
|
||||
// reset component values
|
||||
@ -130,7 +126,6 @@ public void TooManyComponents()
|
||||
_ = identity.NetworkBehaviours;
|
||||
LogAssert.ignoreFailingMessages = false;
|
||||
|
||||
|
||||
// try to serialize
|
||||
NetworkWriter ownerWriter = new NetworkWriter();
|
||||
NetworkWriter observersWriter = new NetworkWriter();
|
||||
|
Loading…
Reference in New Issue
Block a user