public void NotBooleanConverter_IfAllTrueBoolean_ReturnFalse() { var converter = new NotBooleanConverter(); var values = new object[] { true, true, true }; object result = converter.Convert(values, null, null, null); Assert.False((bool)result); }
public void NotBooleanConverter_IfContainsNoBoolean_IgnoreActAsNotAroundAndAnd() { var converter = new NotBooleanConverter(); var values = new object[] { true, false, 3 }; object result = converter.Convert(values, null, null, null); Assert.True((bool)result); }