Exemplo n.º 1
0
        public void NumberListsSample()
        {
            var numbers     = GenExtensions.SomeOfValues(1, 2, 3, 4);
            var numberLists = GenExtensions.SomeOfGenerators(numbers, numbers, numbers);

            numberLists.DumpSamples(xss =>
            {
                var sb = new StringBuilder();
                sb.AppendLine();
                foreach (var xs in xss)
                {
                    sb.AppendLine(Formatters.FormatCollection(xs));
                }
                return(sb.ToString());
            });
        }
Exemplo n.º 2
0
        public void NumbersSample()
        {
            var numbers = GenExtensions.SomeOfValues(1, 2, 3, 4);

            numbers.DumpSamples(Formatters.FormatCollection);
        }