public void SimpleTest(double arg, double expected) { Ln calc = new Ln(); double result = calc.Action(arg); Assert.AreEqual(expected, result); }
public void Negative() { Ln calc = new Ln(); Assert.Throws <Exception>(() => calc.Action(-9)); }
public void Zero() { Ln calc = new Ln(); Assert.Throws <Exception>(() => calc.Action(0)); }