コード例 #1
0
        public void NotEquals()
        {
            StateRep other = new NormalStateRep("OtherStateName", null);

            Assert.IsFalse(other.Equals(this.stateRep));
        }
コード例 #2
0
        public void Equality()
        {
            StateRep other = new NormalStateRep(StateName, null);

            Assert.IsTrue(other.Equals(this.stateRep));
        }