public void FT_Shift_3() { Tnum t = new Tnum(0); t.AddState(Date(2010, 1, 1), 100); t.AddState(Date(2011, 1, 1), 200); Tnum actual = t.Shift(2, TheYear); Assert.AreEqual("{Dawn: 0; 1/1/2008: 100; 1/1/2009: 200}", actual.Out); }
public void FT_Shift_uncertain1() { Tnum t = new Tnum(Hstate.Stub); Assert.AreEqual("Stub", t.Shift(2, TheYear).Out); }
public void FT_Shift_uncertain3() { Tnum t = new Tnum(Hstate.Unstated); Assert.AreEqual("Unstated", t.Shift(0, TheYear).Out); }
public void FT_Shift_uncertain2() { Tnum t = new Tnum(Hstate.Uncertain); Assert.AreEqual("Uncertain", t.Shift(-2, TheYear).Out); }
public void FT_Shift_3() { Tnum t = new Tnum(0); t.AddState(Date(2010,1,1), 100); t.AddState(Date(2011,1,1), 200); Tnum actual = t.Shift(2, TheYear); Assert.AreEqual("{Dawn: 0; 1/1/2008: 100; 1/1/2009: 200}", actual.Out); }