public void TestEmptyColorBonus() { var s = new Logic.Stats(); Assert.AreEqual(0, s.TotalNumEmptyColorBonuses); s.AddEmptyColorBonus(); Assert.AreEqual(1, s.TotalNumEmptyColorBonuses); }
public void TestEmptyColorBonusEventTriggered() { var s = new Logic.Stats(); bool triggered = false; s.OnEmptyBonus += () => triggered = true; s.AddEmptyColorBonus(); Assert.IsTrue(triggered); }