예제 #1
0
        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));
        }
예제 #2
0
 public ATestDto MyBoolProp(bool expect)
 {
     MyBoolProp(ABool.EqualTo(expect));
     return(this);
 }