public void FlagToBoolValueResolver_ResolveWithSourceN_ResolvesDestinationAsFalse() { string source = "N"; bool destination = true; destination = FlagToBoolValueResolver.Resolve(source); Assert.IsFalse(destination); }
public void FlagToBoolValueResolver_ResolveWithSourceY_ResolvesDestinationAsTrue() { string source = "Y"; bool destination = false; destination = FlagToBoolValueResolver.Resolve(source); Assert.IsTrue(destination); }