예제 #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();