Exemple #1
0
        public void FlagToBoolValueResolver_ResolveWithSourceN_ResolvesDestinationAsFalse()
        {
            string source      = "N";
            bool   destination = true;

            destination = FlagToBoolValueResolver.Resolve(source);

            Assert.IsFalse(destination);
        }
Exemple #2
0
        public void FlagToBoolValueResolver_ResolveWithSourceY_ResolvesDestinationAsTrue()
        {
            string source      = "Y";
            bool   destination = false;

            destination = FlagToBoolValueResolver.Resolve(source);

            Assert.IsTrue(destination);
        }