示例#1
0
        public void TestTrueReturnsFalseBack()
        {
            var converter = new BooleanNegatedConverter();
            var tTest     = converter.ConvertBack(true, typeof(bool), null, CultureInfo.CurrentCulture);

            Assert.IsFalse((bool)tTest);
        }
示例#2
0
        public void TestFalseReturnsTrueBack()
        {
            var converter = new BooleanNegatedConverter();
            var fTest     = converter.ConvertBack(false, typeof(bool), null, CultureInfo.CurrentCulture);

            Assert.IsTrue((bool)fTest);
        }