Beispiel #1
0
        public void Constructor()
        {
            var a = new SFTime();
            var b = new SFTime(a);
            var c = new SFTime(123456.12345678901234);

            Assert.IsTrue(Math.Abs(a + 1.0) < 0.000000000000001);
            Assert.AreEqual(b, a);
            Assert.AreEqual(c, 123456.12345678901234);
            Assert.AreNotEqual(c, true);
        }
Beispiel #2
0
 public void Visit(SFTime field)
 {
     throw new NotImplementedException();
 }
Beispiel #3
0
 public void Visit(SFTime field)
 {
     field.Value = m_context.ReadDouble();
 }