public void Log10Test(double first, double expected) { ISingleCalculator calculator = new Log10(); double result = calculator.Calculate(first); Assert.AreEqual(expected, result); }
public void NegativeLn10XTest() { ISingleCalculator calculator = new Log10(); Assert.Throws<ArgumentException>(() => calculator.Calculate(-1)); }