Example #1
0
        public void TotalSummedIntervals_2()
        {
            Tnum t = new Tnum(Hstate.Unstated);
            Tnum r = t.TotalSummedIntervals(TheMonth, Date(2015, 1, 1), Date(2015, 12, 31));

            Assert.AreEqual("Unstated", r.Out);
        }
Example #2
0
        public void TotalSummedIntervals_1()
        {
            Tnum t = new Tnum(1000);
            Tnum r = t.TotalSummedIntervals(TheMonth, Date(2015, 1, 1), Date(2016, 1, 1));

            Assert.AreEqual(12000, r.Out);
        }
 public void TotalSummedIntervals_5()
 {
     Tnum t = new Tnum(1000);
     t.AddState(Date(2015, 6, 1), 2000);
     Tnum r = t.TotalSummedIntervals(TheMonth, Date(2015,1,1), Date(2016,1,1));
     Assert.AreEqual(19000, r.Out);
 }
 public void TotalSummedIntervals_2()
 {
     Tnum t = new Tnum(Hstate.Unstated);
     Tnum r = t.TotalSummedIntervals(TheMonth, Date(2015,1,1), Date(2015,12,31));
     Assert.AreEqual("Unstated", r.Out);
 }