public void TestCumPercentage(int ti, double expRslt) { var actRslt = Hyetograph.CumulativePercentage(ti); Assert.AreEqual(expRslt, actRslt); }
public void TestCumRainfall(DesignStorm ds, int ti, double expRslt) { var rainFall = Hyetograph.CumulativeRainfall(ds, ti); Assert.AreEqual(expRslt, rainFall); }
public void TestIntervalPercentage(int ti, decimal expRslt) { var actRslt = Hyetograph.RainfallPercentage(ti); Assert.AreEqual(expRslt, actRslt); }