Exemplo n.º 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));
        }
Exemplo n.º 2
0
        public void Equals()
        {
            RealType realType = new RealType();
            realType.Value = 1;

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

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