mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
c5579e9744
commit
d8786b16ff
@ -254,7 +254,6 @@ public void TestRemovePair()
|
|||||||
{
|
{
|
||||||
new KeyValuePair<int, string>(1, "World"),
|
new KeyValuePair<int, string>(1, "World"),
|
||||||
new KeyValuePair<int, string>(2, "!"),
|
new KeyValuePair<int, string>(2, "!"),
|
||||||
|
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -289,7 +288,6 @@ public void DirtyTest()
|
|||||||
Assert.That(serverSyncDictionary.IsDirty, Is.False);
|
Assert.That(serverSyncDictionary.IsDirty, Is.False);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void ObjectCanBeReusedAfterReset()
|
public void ObjectCanBeReusedAfterReset()
|
||||||
{
|
{
|
||||||
@ -311,7 +309,6 @@ public void ObjectCanBeReusedAfterReset()
|
|||||||
public void ResetShouldSetReadOnlyToFalse()
|
public void ResetShouldSetReadOnlyToFalse()
|
||||||
{
|
{
|
||||||
clientSyncDictionary.Reset();
|
clientSyncDictionary.Reset();
|
||||||
|
|
||||||
Assert.That(clientSyncDictionary.IsReadOnly, Is.False);
|
Assert.That(clientSyncDictionary.IsReadOnly, Is.False);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -319,7 +316,6 @@ public void ResetShouldSetReadOnlyToFalse()
|
|||||||
public void ResetShouldClearChanges()
|
public void ResetShouldClearChanges()
|
||||||
{
|
{
|
||||||
serverSyncDictionary.Reset();
|
serverSyncDictionary.Reset();
|
||||||
|
|
||||||
Assert.That(serverSyncDictionary.GetChangeCount(), Is.Zero);
|
Assert.That(serverSyncDictionary.GetChangeCount(), Is.Zero);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -327,7 +323,6 @@ public void ResetShouldClearChanges()
|
|||||||
public void ResetShouldClearItems()
|
public void ResetShouldClearItems()
|
||||||
{
|
{
|
||||||
serverSyncDictionary.Reset();
|
serverSyncDictionary.Reset();
|
||||||
|
|
||||||
Assert.That(serverSyncDictionary, Is.Empty);
|
Assert.That(serverSyncDictionary, Is.Empty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user