using Amphora; using System; namespace Ariadne.Vellum.UnitTests { /// /// Builds the tick contexts the tests hand to arcs. /// public static class TestTicks { /// /// Returns a tick context over a sandbox no other tick shares, at the given times. /// public static TickContext At(TimeSpan deltaTime, TimeSpan gameTime) { return new TickContext(new ExceptionSandbox(typeof(AriadneSites).Assembly), deltaTime, gameTime); } /// /// Returns a tick context over a sandbox no other tick shares, with no time passing. /// public static TickContext Fresh() { return new TickContext(new ExceptionSandbox(typeof(AriadneSites).Assembly), TimeSpan.Zero, TimeSpan.Zero); } } }