示例#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);
 }