public void ScoreChangesTestScriptSimplePasses() { //Debug.Log(Score); ////ACT score.increase(100); //ASSERT Assert.AreEqual(100, score.getScoreValue()); }
public void DifficultyChangesTestScriptSimplePasses() { MoleBehaviour Mole = mole.AddComponent <MoleBehaviour>(); ScoreUpdate Score = score.AddComponent <ScoreUpdate>(); Score.increase(20000); Mole.UpdateDifficulty(); Assert.AreEqual(speed, Mole.speed); Score.setScoreValue(0); }