public void false_results_in_visible_when_parameter_is_specified() { IValueConverter converter = new BooleanToVisibleConverter(); Assert.That(converter.Convert(true, null, "false", null), Is.EqualTo(Visibility.Collapsed)); }
public void true_results_in_visible() { IValueConverter converter = new BooleanToVisibleConverter(); Assert.That(converter.Convert(true, null, null, null), Is.EqualTo(Visibility.Visible)); }
public void false_results_in_collapsed() { IValueConverter converter = new BooleanToVisibleConverter(); Assert.That(converter.Convert(false, null, null, null), Is.EqualTo(Visibility.Collapsed)); }