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