示例#1
0
        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]);
            }
        }
示例#2
0
        private static IDynamicListGenerator CreateDynamicListGenerator()
        {
            var trialResultGenerator = new TrialResultGenerator();

            return(new DynamicListGenerator(trialResultGenerator));
        }