コード例 #1
0
        public void testYesorNoActionequal2()
        {
            YesOrNoAction n  = new YesOrNoAction(true);
            YesOrNoAction n2 = new YesOrNoAction(false);

            Assert.IsTrue(n.Equals(n2) == false);
        }
コード例 #2
0
        public void testYesorNoActionequal()
        {
            YesOrNoAction n = new YesOrNoAction(true);

            Assert.IsTrue(n.Equals(n) == true);
        }