style(SyncSetTest): code formatting

This commit is contained in:
MrGadget 2024-03-24 10:07:49 -04:00
parent f86acf6bed
commit 4c5a5dfec3

View File

@ -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]