Class TimingTestHelper
Helper functions for timing related tests. Allows to get a set of time steps and simulate time advancing without the need of a full playmode test.
Inheritance
TimingTestHelper
Syntax
public static class TimingTestHelper
Methods
ApplySteps(NetworkTimeSystem, NetworkTickSystem, List<Single>, TimingTestHelper.StepCheckDelegate)
Declaration
public static void ApplySteps(NetworkTimeSystem timeSystem, NetworkTickSystem tickSystem, List<float> steps, TimingTestHelper.StepCheckDelegate stepCheck = null)
Parameters
ApplySteps(NetworkTimeSystem, NetworkTickSystem, List<Single>, TimingTestHelper.StepCheckResetDelegate)
Declaration
public static void ApplySteps(NetworkTimeSystem timeSystem, NetworkTickSystem tickSystem, List<float> steps, TimingTestHelper.StepCheckResetDelegate stepCheck = null)
Parameters
GetRandomTimeSteps(Single, Single, Single, Int32)
Declaration
public static List<float> GetRandomTimeSteps(float totalDuration, float min, float max, int seed)
Parameters
Returns