Пример #1
0
 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));
 }
Пример #2
0
 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));
 }