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