示例#1
0
 public static bool DoesNotContain(this IEnumerable <PinColor> collection, PinColor pin)
 {
     return(!collection.Contains(pin));
 }
示例#2
0
        public void ConvertRedAsTextToRedAsPinColor(string textAsColor, PinColor expectedPinColor)
        {
            var sut = new TextToPinColorConverter();

            Assert.Equal(expectedPinColor, sut.Convert(textAsColor));
        }
示例#3
0
 public static void Postfix()
 => PinColor.UpdatePinsColor();