public void BoolToVisibilityConverterReverse_TrueReturnsHidden() { BoolToVisibilityConverterReverse c = new BoolToVisibilityConverterReverse(); var res = c.Convert(true, typeof(Visibility), null, null); Assert.IsTrue((Visibility)res == Visibility.Hidden, "Should have been 'Hidden'"); }
public void BoolToVisibilityConverterReverse_FalseReturnsVisible() { BoolToVisibilityConverterReverse c = new BoolToVisibilityConverterReverse(); var res = c.Convert(false, typeof(Visibility), null, null); Assert.IsTrue((Visibility)res == Visibility.Visible, "Should have been 'Visible'"); }