public void MultipleBoolToEnabledConverter_Convert_WithTrueTrueNull_ReturnsTrue() { var multipleBoolToEnabledConverter = new MultipleBoolToEnabledConverter(); object[] values = { true, true, null }; var actual = multipleBoolToEnabledConverter.Convert(values, null, null, null); Assert.AreEqual(true, actual); }
public void MultipleBoolToEnabledConverter_Convert_WithTrueTrueFalse_ReturnsFalse() { MultipleBoolToEnabledConverter multipleBoolToEnabledConverter = new MultipleBoolToEnabledConverter(); object[] values = { true, true, false }; var actual = multipleBoolToEnabledConverter.Convert(values, null, null, null); Assert.AreEqual(false, actual); }