public void Linear_Exception() { double a = -5; double c = 3; double delta = 0.07; double actual = MyAlgorithms.Linear(a, c); }
public void Linear_5and3_12returned() { double a = 5; double c = 3; double delta = 0.07; double expected = 12.2857142; double actual = MyAlgorithms.Linear(a, c); Assert.AreEqual(expected, actual, delta); }