private static Chart MessagesSentFromServerPrSecond(ChartPostModel model) { var testData = new TestData { StartTime = DateUtils.FromMillisecondsSinceEpoch(model.StartTime) }; return testData.MessagesSentByServerPrSecond(model.Spacing, model.SentFromServerEvents.ToArray()); }
private static Chart AverageLatency(ChartPostModel model) { var testData = new TestData { StartTime = DateUtils.FromMillisecondsSinceEpoch(model.StartTime) }; return testData.AverageLatencyPrSecond(model.Spacing, model.TestDataEntities, model.SentFromClientEvents.ToArray()); }
public void SetUp() { _instance = new TestData { StartTime = new DateTime(2013, 11, 3, 13, 37, 0), }; }