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