예제 #1
0
        public void TestFalseReturnsTrue()
        {
            var converter = new BooleanNegatedConverter();
            var fTest     = converter.Convert(false, typeof(bool), null, CultureInfo.CurrentCulture);

            Assert.IsTrue((bool)fTest);
        }
예제 #2
0
        public void TestTrueReturnsFalse()
        {
            var converter = new BooleanNegatedConverter();
            var tTest     = converter.Convert(true, typeof(bool), null, CultureInfo.CurrentCulture);

            Assert.IsFalse((bool)tTest);
        }