public void CloneTest() { CNumber_Integer target = new CNumber_Integer(42.0); CNumber_Integer copy = (CNumber_Integer)target.Clone(); Assert.IsTrue(target.Equals(copy)); }
public void EqualsTest() { CNumber_Integer a = new CNumber_Integer("0x1234.5678"); CNumber_Integer b = new CNumber_Integer("0x1234.5678"); Assert.IsTrue(a.Equals(b)); }