Esempio n. 1
0
        public void Equals2IntX()
        {
            IntX int1 = new IntX(8);
            IntX int2 = new IntX(8);

            Assert.IsTrue(int1.Equals(int2));
        }
Esempio n. 2
0
        public override bool Equals(BigNum other)
        {
//			if( !other.Floor().Equals( other ) ) { // check it's an integer
//
//				return false;
//			}

            BigInt o = E(other);

            return(_v.Equals(o._v));
        }
Esempio n. 3
0
 public void Equals2IntX()
 {
     IntX int1 = new IntX(8);
     IntX int2 = new IntX(8);
     Assert.IsTrue(int1.Equals(int2));
 }