Example #1
0
 public void ThrowExceptionWhenSelectedColourIsInvalid(int number, int coloursLength)
 {
     if (number < 0 || number > coloursLength)
     {
         throw new Exception(GameInstruction.InvalidColourMessage());
     }
 }