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