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