public void AdvanceTicks() { FakeClock clock = new FakeClock(Instant.FromUnixTimeTicks(100L)); clock.AdvanceTicks(3); Assert.AreEqual(103, clock.GetCurrentInstant().ToUnixTimeTicks()); }
public void AdvanceTicks() { FakeClock clock = new FakeClock(Instant.FromTicksSinceUnixEpoch(100L)); clock.AdvanceTicks(3); Assert.AreEqual(103, clock.GetCurrentInstant().Ticks); }