public IEnumerator ShouldSetTextsCorrectly() { ph.SetDistanceText(1f); ph.SetScoreText(100); ph.SetSpeedText(100f); yield return(new WaitForSeconds(TestConstants.WAIT_TIME)); Assert.AreNotEqual("01", ph.GetDistanceText()); Assert.AreNotEqual("100", ph.GetScoreText()); Assert.AreNotEqual("100", ph.GetSpeedText()); }