Beispiel #1
0
 public void TestItFailsToValidateColour(string colour)
 {
     Assert.False(ColourValidator.ColourValid(sectorElements, colour));
 }
Beispiel #2
0
 public void TestItValidatesColour(string colour)
 {
     Assert.True(ColourValidator.ColourValid(sectorElements, colour));
 }
Beispiel #3
0
 public void TestItFailsOnInvalidColourIntegers(string value)
 {
     Assert.False(ColourValidator.IsValidColourInteger(value));
 }
Beispiel #4
0
 public void TestItPassesIfColourIsDefined(string colour)
 {
     Assert.True(ColourValidator.ColourIsDefined(sectorElements, colour));
 }
Beispiel #5
0
 public void TestItPassesOnValidColourIntegers(string value)
 {
     Assert.True(ColourValidator.IsValidColourInteger(value));
 }