예제 #1
0
        public void TestCumPercentage(int ti, double expRslt)
        {
            var actRslt = Hyetograph.CumulativePercentage(ti);

            Assert.AreEqual(expRslt, actRslt);
        }
예제 #2
0
        public void TestCumRainfall(DesignStorm ds, int ti, double expRslt)
        {
            var rainFall = Hyetograph.CumulativeRainfall(ds, ti);

            Assert.AreEqual(expRslt, rainFall);
        }
예제 #3
0
        public void TestIntervalPercentage(int ti, decimal expRslt)
        {
            var actRslt = Hyetograph.RainfallPercentage(ti);

            Assert.AreEqual(expRslt, actRslt);
        }