public void SlidingSummedIntervals_2() { Tnum t = new Tnum(Hstate.Unstated); Tnum r = t.SlidingSummedIntervals(TheMonth, 2); Assert.AreEqual("Unstated", r.Out); }
public void SlidingSummedIntervals_1() { Tnum t = new Tnum(1000); Tnum r = t.SlidingSummedIntervals(TheMonth, 2); Assert.AreEqual(2000, r.Out); }
public void SlidingSummedIntervals_3() { Tnum t = new Tnum(Hstate.Stub); Tnum r = t.SlidingSummedIntervals(TheMonth, 2); Assert.AreEqual("Stub", r.Out); }
public void SlidingSummedIntervals_7() { Tnum t = new Tnum(Hstate.Unstated); t.AddState(Date(2013, 1, 1), 2000); Tnum r = t.SlidingSummedIntervals(TheYear, 2); Assert.AreEqual("Unstated", r.Out); }
public void SlidingSummedIntervals_4() { Tnum t = new Tnum(1000); t.AddState(Date(2013, 1, 1), 2000); Tnum r = t.SlidingSummedIntervals(TheYear, 2); Assert.AreEqual("{Dawn: 2000; 1/1/2014: 3000; 1/1/2015: 4000}", r.Out); }
public void SlidingSummedIntervals_3() { Tnum t = new Tnum(Hstate.Stub); Tnum r = t.SlidingSummedIntervals(TheMonth, 2); Assert.AreEqual("Stub", r.Out); }
public void SlidingSummedIntervals_2() { Tnum t = new Tnum(Hstate.Unstated); Tnum r = t.SlidingSummedIntervals(TheMonth, 2); Assert.AreEqual("Unstated", r.Out); }
public void SlidingSummedIntervals_1() { Tnum t = new Tnum(1000); Tnum r = t.SlidingSummedIntervals(TheMonth, 2); Assert.AreEqual(2000, r.Out); }
public void SlidingSummedIntervals_7() { Tnum t = new Tnum(Hstate.Unstated); t.AddState(Date(2013, 1, 1), 2000); Tnum r = t.SlidingSummedIntervals(TheYear, 2); Assert.AreEqual("Unstated", r.Out); }
public void SlidingSummedIntervals_4() { Tnum t = new Tnum(1000); t.AddState(Date(2013, 1, 1), 2000); Tnum r = t.SlidingSummedIntervals(TheYear, 2); Assert.AreEqual("{Dawn: 2000; 1/1/2014: 3000; 1/1/2015: 4000}", r.Out); }