public void IsHomeForfeitTest() { Match target = new Match(Home, Away, 4, 1); Assert.IsTrue(target.IsHomeForfeit); }
public abstract ITotal GetPointFromMatch(Match m, bool isHome);
public void IsDrawTest() { Match target = new Match(Home, Away, 2, 2); Assert.IsTrue(target.IsDraw); }
public void IsAwayForfeitTest() { Match target = new Match(Home, Away, 2, 3); Assert.IsTrue(target.IsAwayForfeit); }
public void HomeTest() { Match target = new Match(Home, Away, 3, 1); Assert.AreEqual(Home, target.Home); }
public void HomeGoalsTest() { Match target = new Match(Home, Away, 3, 1); Assert.AreEqual(3, target.HomeGoals); }
public void AwayTest() { Match target = new Match(Home, Away, 3, 0); Assert.AreEqual(Away, target.Away); }