Esempio n. 1
0
 public void IsEquivalentType_WhenTypesEqualsAndCoefsEquals()
 {
     var firstCoef = new CoefAndGoals(1, 1);
     var secondCoef = new CoefAndGoals(1, 1);
     Assert.IsTrue(firstCoef.IsEquivalentType(secondCoef));
 }
Esempio n. 2
0
 public void IsEquivalentType_WhenTypesEqualsAndCoefsDifferent()
 {
     var firstCoef = new CoefAndGoals(0, 0);
     var secondCoef = new CoefAndGoals(1, 1);
     Assert.IsFalse(firstCoef.IsEquivalentType(secondCoef));
 }