Exemplo n.º 1
0
 public void TestConstructor2()
 {
     TimeTicks time2 = new TimeTicks(new byte[] { 0x3F, 0xE0 });
     Assert.AreEqual(16352, time2.ToUInt32());
     Assert.AreEqual(16352.GetHashCode(), time2.GetHashCode());
 }
Exemplo n.º 2
0
 public void TestConstructor()
 {
     TimeTicks time = new TimeTicks(15);
     Assert.AreEqual(15, time.ToUInt32());
     Assert.AreEqual("00:00:00.1500000", time.ToString());
 }
Exemplo n.º 3
0
 public void TestConstructor()
 {
     TimeTicks time = new TimeTicks(15);
     Assert.AreEqual(15, time.ToUInt32());
 }
Exemplo n.º 4
0
 public void TestConstructor3()
 {
     TimeTicks time = new TimeTicks(800);
     uint count = time.ToUInt32();
     Assert.AreEqual(time, new TimeTicks(count));
 }
Exemplo n.º 5
0
        public void TestConstructor()
        {
            TimeTicks time = new TimeTicks(15);

            Assert.AreEqual(15, time.ToUInt32());
        }