public void LogarExceptionTest() { ISingle logarCalculator = new Logar(); Assert.Throws<ArgumentException>(() => logarCalculator.CreateCalculate(-1)); }
public void LogarTest(double first, double expected) { ISingle logarCalculator = new Logar(); double result = logarCalculator.CreateCalculate(first); Assert.AreEqual(expected, result); }