public void Test() { var dataSet = CreateDataSet(); var generator = new TrialResultGenerator(); var result = generator.GenerateTrialResult(dataSet); Assert.AreEqual(14, result.Count); for (int i = 0; i < result.Count; i++) { AssertAllValuesAreEqual(dataSet.TrialDataRows[i + 1].Values, result[i]); } }
private static IDynamicListGenerator CreateDynamicListGenerator() { var trialResultGenerator = new TrialResultGenerator(); return(new DynamicListGenerator(trialResultGenerator)); }