public void RangeWhenAandBAreOfDifferentSigns() { TriangularFunction func = new TriangularFunction(-1.0, 2.0); Assert.AreEqual(func.Range(), 3.0); }
public void RangeWhenAandBAreNegative() { TriangularFunction func = new TriangularFunction(-1.0, -2.0); Assert.AreEqual(func.Range(), 1.0); }