public void IbuCalculatorRagerNotEqualToTinseth() { IbuCalculatorRager myRager = new IbuCalculatorRager(); IbuCalculatorTinseth myTinseth = new IbuCalculatorTinseth(); Assert.AreNotEqual(myRager.CalculateIbu(1m, 5m, 1.010m, 60m, 5m), myTinseth.CalculateIbu(1m, 5m, 1.010m, 60m, 5m)); }
public void IbuCalculatorRager() { IbuCalculatorRager myRager = new IbuCalculatorRager(); Assert.AreEqual(23.080728306647853, myRager.CalculateIbu(1.0m, 5.0m, 1.010m, 60.0m, 5.0m)); //Assert.AreEqual(18, myRager.CalculateIbu(1.0, 5.0, 1.010, 60.0, 5)); }