Esempio n. 1
0
 public void TestWhenTeamWithSlotRed()
 {
     Assert.AreEqual(SlotConstants.TeamWithSlot(6), Team.Red);
     Assert.AreEqual(SlotConstants.TeamWithSlot(11), Team.Red);
 }
Esempio n. 2
0
 public void GivesTeamWithSlotTooLargeSlot()
 {
     SlotConstants.TeamWithSlot(-1);
 }
Esempio n. 3
0
 public void TestWhenTeamWithSlotBlue()
 {
     Assert.AreEqual(SlotConstants.TeamWithSlot(0), Team.Blue);
     Assert.AreEqual(SlotConstants.TeamWithSlot(5), Team.Blue);
 }
Esempio n. 4
0
 public void GivesTeamWithSlotTooSmallSlot()
 {
     SlotConstants.TeamWithSlot(-1);
 }