public void ToDateTimeWithImplicitResolution(long value, long expectedTicks)
		{
			var transformer = new TimestampTransformer();
			var actualTimestamp = transformer.ToDateTime(value);
			var actualTicks = actualTimestamp.Ticks;
			Assert.AreEqual(expectedTicks, actualTicks);
		}
Esempio n. 2
0
        public void ToDateTimeWithImplicitResolution(long value, long expectedTicks)
        {
            var transformer     = new TimestampTransformer();
            var actualTimestamp = transformer.ToDateTime(value);
            var actualTicks     = actualTimestamp.Ticks;

            Assert.AreEqual(expectedTicks, actualTicks);
        }