public IEnumerator Set_Attempt_Text_Minus() { KillPlayerLevelThree killPlayer = playerThree.GetComponent <KillPlayerLevelThree>(); PlayerUtility.setAttemptText(killPlayer.txt, -5); Assert.AreEqual("Attempts: 0", killPlayer.txt.text); yield return(null); }
public IEnumerator Is_Text_Object_Connected_To_Script() { KillPlayerLevelThree killPlayer = playerThree.GetComponent <KillPlayerLevelThree>(); if (killPlayer.txt != null) { yield break; } Assert.Fail(); }