public void Test_Equals_Failed() { Rationals.Program r1 = new Rationals.Program(2, -3); Rationals.Program r2 = new Rationals.Program(2, 3); Assert.AreEqual(false, r1.Equals(r2)); }
public void Test_Equals_Success() { Rationals.Program r1 = new Rationals.Program(2, -3); Rationals.Program r2 = new Rationals.Program(-2, 3); Assert.AreEqual(true, r1.Equals(r2)); }