mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
style(SyncSetTest): code formatting
This commit is contained in:
parent
f86acf6bed
commit
4c5a5dfec3
@ -66,7 +66,7 @@ public void TestInit()
|
|||||||
[Test]
|
[Test]
|
||||||
public void CurlyBracesConstructor()
|
public void CurlyBracesConstructor()
|
||||||
{
|
{
|
||||||
SyncHashSet<int> set = new SyncHashSet<int>{1,2,3};
|
SyncHashSet<int> set = new SyncHashSet<int> { 1, 2, 3 };
|
||||||
Assert.That(set.Count, Is.EqualTo(3));
|
Assert.That(set.Count, Is.EqualTo(3));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ public void TestClear()
|
|||||||
{
|
{
|
||||||
serverSyncSet.Clear();
|
serverSyncSet.Clear();
|
||||||
SerializeDeltaTo(serverSyncSet, clientSyncSet);
|
SerializeDeltaTo(serverSyncSet, clientSyncSet);
|
||||||
Assert.That(clientSyncSet, Is.EquivalentTo(new string[] {}));
|
Assert.That(clientSyncSet, Is.EquivalentTo(new string[] { }));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
@ -162,7 +162,7 @@ public void TestExceptWithSelf()
|
|||||||
{
|
{
|
||||||
serverSyncSet.ExceptWith(serverSyncSet);
|
serverSyncSet.ExceptWith(serverSyncSet);
|
||||||
SerializeDeltaTo(serverSyncSet, clientSyncSet);
|
SerializeDeltaTo(serverSyncSet, clientSyncSet);
|
||||||
Assert.That(clientSyncSet, Is.EquivalentTo(new String[] {}));
|
Assert.That(clientSyncSet, Is.EquivalentTo(new String[] { }));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
@ -242,7 +242,7 @@ public void TestSymmetricExceptWithSelf()
|
|||||||
{
|
{
|
||||||
serverSyncSet.SymmetricExceptWith(serverSyncSet);
|
serverSyncSet.SymmetricExceptWith(serverSyncSet);
|
||||||
SerializeDeltaTo(serverSyncSet, clientSyncSet);
|
SerializeDeltaTo(serverSyncSet, clientSyncSet);
|
||||||
Assert.That(clientSyncSet, Is.EquivalentTo(new String[] {}));
|
Assert.That(clientSyncSet, Is.EquivalentTo(new String[] { }));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user