public void EqualToTest() { AssertPasses(true, ABool.EqualTo(true)); AssertPasses(false, ABool.EqualTo(false)); AssertFails(false, ABool.EqualTo(true)); AssertFails(true, ABool.EqualTo(false)); AssertFails(null, ABool.EqualTo(true)); AssertFails(null, ABool.EqualTo(false)); }
public ATestDto MyBoolProp(bool expect) { MyBoolProp(ABool.EqualTo(expect)); return(this); }