public void CorenExceptionTest() { ISingle corenCalculator = new Coren(); Assert.Throws<ArgumentException>(() => corenCalculator.CreateCalculate(-1)); }
public void CorenTest(double first, double expected) { ISingle corenCalculator = new Coren(); double result = corenCalculator.CreateCalculate(first); Assert.AreEqual(expected, result); }