public void SchedulerMultiBoolToVisibilityConverter_Convert_WithFalseFalse_ReturnsVisible() { SchedulerMultiBoolToVisibilityConverter schedulerMultiBoolToVisibilityConverter = new SchedulerMultiBoolToVisibilityConverter(); object[] values = { false, false }; var actual = schedulerMultiBoolToVisibilityConverter.Convert(values, null, null, null); Assert.AreEqual(Visibility.Visible, actual); }
public void SchedulerMultiBoolToVisibilityConverter_Convert_WithTrueFalse_ReturnsCollapsed() { SchedulerMultiBoolToVisibilityConverter schedulerMultiBoolToVisibilityConverter = new SchedulerMultiBoolToVisibilityConverter(); object[] values = { true, false }; var actual = schedulerMultiBoolToVisibilityConverter.Convert(values, null, null, null); Assert.AreEqual(Visibility.Collapsed, actual); }