コード例 #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);
 }