private static IEnumerable<TestData> InitRandomNumbers(int count, int minValueSize, int maxValueSize) { var random = new RandomSequenceOfUnique(32); var enumerable = Enumerable.Range(0, count).Select(i => random.Next()); var initRandomNumbers = InitValue(enumerable, minValueSize, maxValueSize); foreach (var initRandomNumber in initRandomNumbers) { yield return initRandomNumber; } }
private static IEnumerable <TestData> InitRandomNumbers(int count, int minValueSize, int maxValueSize) { var random = new RandomSequenceOfUnique(32); var enumerable = Enumerable.Range(0, count).Select(i => random.Next()); var initRandomNumbers = InitValue(enumerable, minValueSize, maxValueSize); foreach (var initRandomNumber in initRandomNumbers) { yield return(initRandomNumber); } }