Exemple #1
0
        protected override IEnumerable <List <int> > GenerateTest()
        {
            var sizes = ValueGenerator.GenerateUniformDistributedValues(1000, 1, 20, rand).ToList();
            var x0    = ValueGenerator.GenerateUniformDistributedLists(1000, sizes, -256, 255, rand).ToList();

            return(x0);
        }
Exemple #2
0
        protected override IEnumerable <Tuple <List <int>, List <int> > > GenerateTest()
        {
            var sizes = ValueGenerator.GenerateUniformDistributedValues(1000, 1, 20, rand).ToList();
            var x0    = ValueGenerator.GenerateUniformDistributedLists(1000, sizes, -256, 255, rand).ToList();
            var x1    = ValueGenerator.GenerateUniformDistributedLists(1000, sizes, -256, 255, rand).ToList();

            return(x0.Zip(x1, (first, second) => new Tuple <List <int>, List <int> >(first, second)).ToList());
        }