Skip to content

Commit

Permalink
More tests!
Browse files Browse the repository at this point in the history
  • Loading branch information
John Detter committed Oct 31, 2024
1 parent c6909e3 commit 386db35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/Assets/PlayModeTests/PlayModeExampleTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

public class PlayModeExampleTest
{
// [UnityTest] - This won't work until we have reconnections
[UnityTest]
public IEnumerator SimpleConnectionTest()
{
PlayerPrefs.DeleteAll();
Expand Down Expand Up @@ -138,7 +138,7 @@ public IEnumerator CreatePlayerAndTestDecay()
Debug.Assert(massEnd < massStart, "Mass should have decayed");
}

// [UnityTest] - This won't work until we have reconnections
[UnityTest]
public IEnumerator OneOffTest1()
{
var connected = false;
Expand Down Expand Up @@ -183,7 +183,7 @@ public IEnumerator OneOffTest1()
Debug.Log($"id: {players[0].PlayerId} Username: {players[0].Name}");
}

// [UnityTest] - This won't work until we have reconnections
[UnityTest]
public IEnumerator OneOffTest2()
{
var connected = false;
Expand Down Expand Up @@ -227,7 +227,7 @@ public IEnumerator OneOffTest2()
Debug.Log($"id: {players[0].PlayerId} Username: {players[0].Name}");
}

//[UnityTest]
[UnityTest]
public IEnumerator ReconnectionViaReloadingScene()
{
var connected = false;
Expand Down

0 comments on commit 386db35

Please sign in to comment.