Beispiel #1
0
 public void TestCalcExtras()
 {
     testTeam.AddByes(2);
     testTeam.AddWides(4);
     testTeam.AddLegByes(1);
     testTeam.AddNoBalls(3);
     testTeam.CalcExtras();
     Assert.AreEqual(10, testTeam.Extras);
 }