예제 #1
0
        public void Equals__Not_Equal()
        {
            RealType realType = new RealType();
            realType.Value = 1;

            RealType other = new RealType();
            other.Value = 100;

            Assert.IsFalse(realType.Equals(other));
        }
예제 #2
0
        public void Equals()
        {
            RealType realType = new RealType();
            realType.Value = 1;

            RealType other = new RealType();
            other.Value = 1;

            Assert.IsTrue(realType.Equals(other));
        }