예제 #1
0
        public void FT_AsOf_5()
        {
            Tnum t = new Tnum(4);

            t.AddState(Time.DawnOf.AddYears(5), 44);
            Tnum res = t.AsOf(Time.DawnOf.AddYears(12));

            Assert.AreEqual(44, res.Out);
        }
예제 #2
0
 public void TestTvar1()  //
 {
     Assert.AreEqual(42, tn1.AsOf(Time.DawnOf).Out);
 }
 public void FT_AsOf_5()
 {
     Tnum t = new Tnum(4);
     t.AddState(Time.DawnOf.AddYears(5), 44);
     Tnum res = t.AsOf(Time.DawnOf.AddYears(12));
     Assert.AreEqual(44, res.Out);
 }