public void Not_Be_Able_To_Parse_A_Wrong_String() { var attribute = new BooleanFormatAttribute("J", "N"); bool result; Assert.IsFalse(attribute.TryParse("A", out result)); Assert.IsFalse(result); }
public void Be_Able_To_Parse_A_TrueString_To_True() { var attribute = new BooleanFormatAttribute("J", "N"); bool result; Assert.IsTrue(attribute.TryParse("J", out result)); Assert.IsTrue(result); }