Пример #1
0
 public void TestWhenTeamWithSlotRed()
 {
     Assert.AreEqual(SlotConstants.TeamWithSlot(6), Team.Red);
     Assert.AreEqual(SlotConstants.TeamWithSlot(11), Team.Red);
 }
Пример #2
0
 public void GivesTeamWithSlotTooLargeSlot()
 {
     SlotConstants.TeamWithSlot(-1);
 }
Пример #3
0
 public void TestWhenTeamWithSlotBlue()
 {
     Assert.AreEqual(SlotConstants.TeamWithSlot(0), Team.Blue);
     Assert.AreEqual(SlotConstants.TeamWithSlot(5), Team.Blue);
 }
Пример #4
0
 public void GivesTeamWithSlotTooSmallSlot()
 {
     SlotConstants.TeamWithSlot(-1);
 }