public void TextConvert_ReturnVisisable_IfValueIsTrue() { var converter = new BoolToVisibilityConverter(); var result = converter.Convert(true, typeof(Visibility), null, null); Assert.AreEqual(Visibility.Visible, result); }
public void TextConvert_ReturnCollapsed_IfValueIsFalse() { var converter = new BoolToVisibilityConverter(); var result = converter.Convert(false, typeof(Visibility), null, null); Assert.AreEqual(Visibility.Collapsed, result); }