1068 references to Range
BlazorServerApp (1)
BlazorUnitedApp (1)
DaprServiceB (1)
dotnet-user-jwts (1)
HostedBlazorWebassemblyApp.Server (1)
HttpStress (3)
InMemory.FunctionalTests (1)
Interop.FunctionalTests (1)
Keycloak.ApiService (1)
KeyManagementSimulator (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
Binding\FormDataMapperTests.cs (5)
431var data = new Dictionary<string, StringValues>(Enumerable.Range(0, size)
462var data = new Dictionary<string, StringValues>(Enumerable.Range(0, size)
508var data = new Dictionary<string, StringValues>(Enumerable.Range(0, size)
569var data = new Dictionary<string, StringValues>(Enumerable.Range(0, size)
1066var data = new Dictionary<string, StringValues>(Enumerable.Range(0, size)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Components.Tests (1)
Microsoft.AspNetCore.Diagnostics.Tests (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Http.Results.Tests (2)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.Core.Test (5)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (3)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
Microsoft.AspNetCore.OpenApi.Microbenchmarks (5)
OpenApiSchemaComparerBenchmark.cs (5)
26AllOf = Enumerable.Range(0, ElementCount).Select(_ => GenerateInnerSchema()).ToList(),
27AnyOf = Enumerable.Range(0, ElementCount).Select(_ => GenerateInnerSchema()).ToList(),
40Enum = Enumerable.Range(0, ElementCount).Select(_ => (IOpenApiAny)new OpenApiString("enum")).ToList(),
41OneOf = Enumerable.Range(0, ElementCount).Select(_ => GenerateInnerSchema()).ToList(),
46Properties = Enumerable.Range(0, 10).ToDictionary(i => i.ToString(CultureInfo.InvariantCulture), _ => new OpenApiSchema()),
Microsoft.AspNetCore.Routing.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.AspNetCore.SignalR.Common.Tests (13)
Internal\Protocol\MemoryBufferWriterTests.cs (12)
82var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
101var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
165var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
181var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
199var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
215var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
232var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
251var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
269var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
289var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
316var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
336var input = Enumerable.Range(0, inputSize).Select(i => (byte)i).ToArray();
Microsoft.AspNetCore.WebUtilities.Tests (7)
Microsoft.Build (1)
Microsoft.Build.Engine.UnitTests (6)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenDeconstructTests.cs (4)
2396var tuple = String.Join(", ", Enumerable.Range(1, i).Select(n => n.ToString()));
2397var variables = String.Join(", ", Enumerable.Range(1, i).Select(n => $"x{n}"));
2398var output = String.Join(@" + "" "" + ", Enumerable.Range(1, i).Select(n => $"x{n}"));
2399var expected = String.Join(" ", Enumerable.Range(1, i).Select(n => n));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (7)
Tagging\TagSpanIntervalTreeTests.cs (5)
83var (tree, buffer) = CreateTree(new string('c', 100), [.. Enumerable.Range(50, count: 50).Select(s => new Span(s, 1))]);
97var (tree, buffer) = CreateTree(new string('c', 100), [.. Enumerable.Range(0, count: 100).Select(s => new Span(s, 1))]);
112var (tree, buffer) = CreateTree(new string('c', 100), [.. Enumerable.Range(0, count: 100).Select(s => new Span(s, 1))]);
126var (tree, buffer) = CreateTree(new string('c', 100), [.. Enumerable.Range(0, count: 100).Select(s => new Span(s, 1))]);
140var (tree, buffer) = CreateTree(new string('c', 100), [.. Enumerable.Range(0, count: 100).Select(s => new Span(s, 1))]);
Microsoft.CodeAnalysis.Features (6)
Microsoft.CodeAnalysis.Features.UnitTests (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.UnitTests (144)
Collections\EnumerableExtensionsTests.cs (7)
26Assert.Equal(0, Enumerable.Range(1, 0).AsSingleton());
27Assert.Equal(1, Enumerable.Range(1, 1).AsSingleton());
28Assert.Equal(0, Enumerable.Range(1, 2).AsSingleton());
55Assert.Equal(-1, Enumerable.Range(1, 5).IndexOf(6));
56Assert.Equal(2, Enumerable.Range(1, 5).IndexOf(3));
70Assert.Equal(-1, Enumerable.Range(1, 5).IndexOf(-6, comparer));
71Assert.Equal(2, Enumerable.Range(1, 5).IndexOf(-3, comparer));
Collections\ImmutableListTestBase.cs (15)
116var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(5, 3));
136var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(1, 5));
175var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(100, 5).Concat(Enumerable.Range(100, 5)));
229var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(100, 5).Concat(Enumerable.Range(100, 5)));
333var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(5, 10));
344var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(5, 10));
362var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(5, 10));
371var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(5, 10));
382var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(5, 10));
404ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(1, 50)),
405ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(1, 50).Reverse()),
450var basis = new List<int>(Enumerable.Range(1, 50).Select(n => n * 2));
475var reverseSorted = System.Collections.Immutable.ImmutableArray.CreateRange(Enumerable.Range(1, 150).Select(n => n * 2).Reverse());
Collections\ImmutableSegmentedDictionaryBuilderTest.cs (4)
97.AddRange(Enumerable.Range(1, 10).Select(n => new KeyValuePair<int, string?>(n, null)))
100Enumerable.Range(1, 10).Select(n => new KeyValuePair<int, string?>(n, null)),
109Enumerable.Range(1, 11).Select(n => new KeyValuePair<int, string?>(n, null)),
119Enumerable.Range(1, 11).Select(n => new KeyValuePair<int, string?>(n, null)),
Collections\ImmutableSegmentedHashSetBuilderTest.cs (21)
81var builder = ImmutableSegmentedHashSet<int>.Empty.Union(Enumerable.Range(1, 10)).ToBuilder();
82CollectionAssertAreEquivalent(Enumerable.Range(1, 10).ToArray(), builder.ToArray());
89CollectionAssertAreEquivalent(Enumerable.Range(1, 11).ToArray(), builder.ToArray());
97CollectionAssertAreEquivalent(Enumerable.Range(1, 11).ToArray(), builder.ToArray());
211var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder();
213Assert.False(builder.IsProperSubsetOf(Enumerable.Range(1, 3)));
214Assert.True(builder.IsProperSubsetOf(Enumerable.Range(1, 5)));
220var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder();
222Assert.False(builder.IsProperSupersetOf(Enumerable.Range(1, 3)));
223Assert.True(builder.IsProperSupersetOf(Enumerable.Range(1, 2)));
229var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder();
231Assert.False(builder.IsSubsetOf(Enumerable.Range(1, 2)));
232Assert.True(builder.IsSubsetOf(Enumerable.Range(1, 3)));
233Assert.True(builder.IsSubsetOf(Enumerable.Range(1, 5)));
239var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder();
241Assert.False(builder.IsSupersetOf(Enumerable.Range(1, 4)));
242Assert.True(builder.IsSupersetOf(Enumerable.Range(1, 3)));
243Assert.True(builder.IsSupersetOf(Enumerable.Range(1, 2)));
249var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder();
251Assert.True(builder.Overlaps(Enumerable.Range(3, 2)));
252Assert.False(builder.Overlaps(Enumerable.Range(4, 3)));
Collections\ImmutableSegmentedListBuilderTest.cs (8)
96var builder = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(1, 10)).ToBuilder();
97Assert.Equal(Enumerable.Range(1, 10), builder);
104Assert.Equal(Enumerable.Range(1, 11), builder);
112Assert.Equal(Enumerable.Range(1, 11), builder);
229var mutable = ImmutableSegmentedList.CreateRange(Enumerable.Range(1, 3)).ToBuilder();
231Assert.Equal(Enumerable.Range(1, 3).Reverse(), mutable);
237var mutable = ImmutableSegmentedList.CreateRange(Enumerable.Range(1, 3)).ToBuilder();
256var mutable = ImmutableSegmentedList.CreateRange(Enumerable.Range(1, 3)).ToBuilder();
Collections\ImmutableSegmentedListTest.cs (15)
61int[] values = Enumerable.Range(0, inputLength).Select(i => random.Next()).ToArray();
75values = Enumerable.Range(0, inputLength).Select(i => random.Next()).ToArray();
139var bulkList = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(1, 10).Select(i => i * 10));
148list = list.AddRange(Enumerable.Range(4, 2));
151list = list.AddRange(ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(9, 1000)));
152Assert.Equal(Enumerable.Range(1, 1008), list);
200list = list.AddRange(Enumerable.Range(expectedTotalSize + 1, batchSize));
207list = list.AddRange(Enumerable.Range(expectedTotalSize + 1, largeBatchSize));
210Assert.Equal(Enumerable.Range(1, expectedTotalSize), list);
285Assert.Equal(Enumerable.Range(1, 5), list);
302list = list.InsertRange(3, ImmutableSegmentedList<int>.Empty.InsertRange(0, Enumerable.Range(4, 100)));
303Assert.Equal(Enumerable.Range(1, 105), list);
416list.RemoveRange(Enumerable.Range(1, 1).Select<int, int>(n => { throw ExceptionUtilities.Unreachable(); }));
473var list = ImmutableSegmentedList.CreateRange(Enumerable.Range(1, 3));
718Assert.Equal(Enumerable.Range(1, 3), populatedList.Reverse());
Collections\ImmutableSetTest.nonnetstandard.cs (4)
31SymmetricExceptTestHelper(Empty<int>().Add(1).Add(3).Add(5).Add(7), Enumerable.Range(0, 9).ToArray());
32SymmetricExceptTestHelper(Empty<int>().Add(1).Add(3).Add(5).Add(7), Enumerable.Range(0, 5).ToArray());
49IntersectTestHelper(Empty<int>().Union(Enumerable.Range(1, 10)), 8, 3, 5);
58UnionTestHelper(this.Empty<int>().Union(new[] { 2 }), Enumerable.Range(0, 1000).ToArray());
Collections\List\IList.Generic.Tests.cs (5)
134Assert.All(Enumerable.Range(0, count), index => result = list[index]);
357Assert.All(Enumerable.Range(0, count), index =>
388Assert.All(Enumerable.Range(0, count), (index =>
585Assert.All(Enumerable.Range(0, count).Reverse(), index =>
600Assert.All(Enumerable.Range(0, count), index =>
Collections\List\IList.NonGeneric.Tests.cs (5)
239Assert.All(Enumerable.Range(0, count), index => result = list[index]);
685Assert.All(Enumerable.Range(0, count), index =>
721Assert.All(Enumerable.Range(0, count), (index =>
1057Assert.All(Enumerable.Range(0, count).Reverse(), index =>
1072Assert.All(Enumerable.Range(0, count), index =>
Collections\List\SegmentedList.Generic.Tests.IndexOf.cs (6)
95Assert.All(Enumerable.Range(0, count), i =>
139Assert.All(Enumerable.Range(0, count), i =>
158Assert.All(Enumerable.Range(0, count), i =>
160Assert.All(Enumerable.Range(0, 4), j =>
179Assert.All(Enumerable.Range(0, count), i =>
181Assert.All(Enumerable.Range(0, 4), j =>
Collections\List\SegmentedList.Generic.Tests.Sort.cs (6)
39Assert.All(Enumerable.Range(0, count - 2), i =>
53Assert.All(Enumerable.Range(0, count - 2), i =>
70Assert.All(Enumerable.Range(0, count - 2), i =>
84Assert.All(Enumerable.Range(0, count - 2), i =>
102Assert.All(Enumerable.Range(0, count - 2), i =>
117Assert.All(Enumerable.Range(0, count - 2), i =>
Collections\SegmentedCollectionsMarshalTests.cs (22)
582test<int>(Enumerable.Range(0, 17));
583test<int?>(Enumerable.Range(0, 17).Cast<int?>());
584test<Guid>(Enumerable.Range(0, 17).Select(_ => Guid.NewGuid()));
585test<Guid?>(Enumerable.Range(0, 17).Select(_ => (Guid?)Guid.NewGuid()));
586test<string>(Enumerable.Range(0, 17).Select(_ => Guid.NewGuid().ToString()));
587test<CustomClass>(Enumerable.Range(0, 17).Select(_ => new CustomClass()));
588test<ManagedCustomStruct>(Enumerable.Range(0, 17).Select(_ => new ManagedCustomStruct() { Bar = Guid.NewGuid() }));
589test<ManagedCustomStruct?>(Enumerable.Range(0, 17).Select(_ => (ManagedCustomStruct?)new ManagedCustomStruct() { Bar = Guid.NewGuid() }));
590test<UnmanagedCustomStruct>(Enumerable.Range(0, 17).Select(_ => new UnmanagedCustomStruct() { Foo = Guid.NewGuid() }));
591test<UnmanagedCustomStruct?>(Enumerable.Range(0, 17).Select(_ => (UnmanagedCustomStruct?)new UnmanagedCustomStruct() { Foo = Guid.NewGuid() }));
654test<int>(Enumerable.Range(0, 17));
655test<int?>(Enumerable.Range(0, 17).Cast<int?>());
656test<Guid>(Enumerable.Range(0, 17).Select(_ => Guid.NewGuid()));
657test<Guid?>(Enumerable.Range(0, 17).Select(_ => (Guid?)Guid.NewGuid()));
658test<string>(Enumerable.Range(0, 17).Select(_ => Guid.NewGuid().ToString()));
659test<CustomClass>(Enumerable.Range(0, 17).Select(_ => new CustomClass()));
660test<ManagedCustomStruct>(Enumerable.Range(0, 17).Select(_ => new ManagedCustomStruct() { Bar = Guid.NewGuid() }));
661test<ManagedCustomStruct?>(Enumerable.Range(0, 17).Select(_ => (ManagedCustomStruct?)new ManagedCustomStruct() { Bar = Guid.NewGuid() }));
662test<UnmanagedCustomStruct>(Enumerable.Range(0, 17).Select(_ => new UnmanagedCustomStruct() { Foo = Guid.NewGuid() }));
663test<UnmanagedCustomStruct?>(Enumerable.Range(0, 17).Select(_ => (UnmanagedCustomStruct?)new UnmanagedCustomStruct() { Foo = Guid.NewGuid() }));
701SegmentedDictionary<int, TValue> dictionary = new SegmentedDictionary<int, TValue>(Enumerable.Range(0, 17).Select(x => new KeyValuePair<int, TValue>(x, createValue())));
768ImmutableSegmentedDictionary<int, T> immutableDictionary = ImmutableSegmentedDictionary.CreateRange(Enumerable.Range(0, 17).Select(x => new KeyValuePair<int, T>(x, createValue())));
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
Microsoft.Data.Analysis (2)
Microsoft.Data.Analysis.Interactive.Tests (2)
Microsoft.Data.Analysis.PerformanceTests (1)
Microsoft.Data.Analysis.Tests (564)
ArrowIntegrationTests.cs (11)
29.Append("Column1", false, col => col.Int32(array => array.AppendRange(Enumerable.Range(0, 10))))
31valueBuffer: new ArrowBuffer.Builder<int>().AppendRange(Enumerable.Range(0, 10)).Build(),
37valueBuffer: new ArrowBuffer.Builder<int>().AppendRange(Enumerable.Range(0, 10)).Build(),
48.Append("StringDataFrameColumn", false, new StringArray.Builder().AppendRange(Enumerable.Range(0, 10).Select(x => x.ToString())).Build())
80.Append(prependColumnNamesWith + "Column1", false, col => col.Int32(array => array.AppendRange(Enumerable.Range(0, 10))))
82valueBuffer: new ArrowBuffer.Builder<int>().AppendRange(Enumerable.Range(0, 10)).Build(),
88valueBuffer: new ArrowBuffer.Builder<int>().AppendRange(Enumerable.Range(0, 10)).Build(),
99.Append(prependColumnNamesWith + "StringDataFrameColumn", false, new StringArray.Builder().AppendRange(Enumerable.Range(0, 10).Select(x => x.ToString())).Build())
175.Append("Column1", false, col => col.Int32(array => array.AppendRange(Enumerable.Range(0, 10)))).Build();
191.Append("EmptyNullBitMapColumn", false, col => col.Int32(array => array.AppendRange(Enumerable.Range(0, 10))))
226Int32Array int32 = new Int32Array.Builder().AppendRange(Enumerable.Range(0, 520)).Build();
DataFrameColumn.BinaryOperationTests.cs (495)
26var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
28var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
31var verify = Enumerable.Range(1, 10).Select(x => (int)(2 * x));
39var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
41var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (decimal)x);
44var verify = Enumerable.Range(1, 10).Select(x => (decimal)(2 * x));
52var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
54var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (double)x);
57var verify = Enumerable.Range(1, 10).Select(x => (double)(2 * x));
65var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
67var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (float)x);
70var verify = Enumerable.Range(1, 10).Select(x => (float)(2 * x));
78var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
80var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (int)x);
83var verify = Enumerable.Range(1, 10).Select(x => (int)(2 * x));
91var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
93var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (long)x);
96var verify = Enumerable.Range(1, 10).Select(x => (long)(2 * x));
104var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
106var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (sbyte)x);
109var verify = Enumerable.Range(1, 10).Select(x => (int)(2 * x));
117var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
119var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (short)x);
122var verify = Enumerable.Range(1, 10).Select(x => (int)(2 * x));
130var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
132var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (uint)x);
135var verify = Enumerable.Range(1, 10).Select(x => (uint)(2 * x));
143var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
145var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ulong)x);
148var verify = Enumerable.Range(1, 10).Select(x => (ulong)(2 * x));
156var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
158var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ushort)x);
161var verify = Enumerable.Range(1, 10).Select(x => (int)(2 * x));
169var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
173var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
181var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
185var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)x + (decimal)value));
193var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
197var verify = Enumerable.Range(1, 10).Select(x => (double)((double)x + (double)value));
205var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
209var verify = Enumerable.Range(1, 10).Select(x => (float)((float)x + (float)value));
217var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
221var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
229var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
233var verify = Enumerable.Range(1, 10).Select(x => (long)((long)x + (long)value));
241var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
245var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
253var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
257var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
265var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
269var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)x + (uint)value));
277var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
281var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)x + (ulong)value));
289var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
293var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
301var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
305var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
313var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
317var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)x + (decimal)value));
325var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
329var verify = Enumerable.Range(1, 10).Select(x => (double)((double)x + (double)value));
337var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
341var verify = Enumerable.Range(1, 10).Select(x => (float)((float)x + (float)value));
349var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
353var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
361var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
365var verify = Enumerable.Range(1, 10).Select(x => (long)((long)x + (long)value));
373var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
377var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
385var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
389var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
397var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
401var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)x + (uint)value));
409var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
413var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)x + (ulong)value));
421var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
425var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x + (int)value));
433var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
435var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
438var verify = Enumerable.Range(1, 10).Select(x => (int)0);
446var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
448var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (decimal)x);
451var verify = Enumerable.Range(1, 10).Select(x => (decimal)0);
459var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
461var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (double)x);
464var verify = Enumerable.Range(1, 10).Select(x => (double)0);
472var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
474var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (float)x);
477var verify = Enumerable.Range(1, 10).Select(x => (float)0);
485var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
487var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (int)x);
490var verify = Enumerable.Range(1, 10).Select(x => (int)0);
498var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
500var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (long)x);
503var verify = Enumerable.Range(1, 10).Select(x => (long)0);
511var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
513var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (sbyte)x);
516var verify = Enumerable.Range(1, 10).Select(x => (int)0);
524var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
526var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (short)x);
529var verify = Enumerable.Range(1, 10).Select(x => (int)0);
537var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
539var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (uint)x);
542var verify = Enumerable.Range(1, 10).Select(x => (uint)0);
550var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
552var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ulong)x);
555var verify = Enumerable.Range(1, 10).Select(x => (ulong)0);
563var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
565var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ushort)x);
568var verify = Enumerable.Range(1, 10).Select(x => (int)0);
576var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
580var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x - (int)value));
588var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
592var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)x - (decimal)value));
600var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
604var verify = Enumerable.Range(1, 10).Select(x => (double)((double)x - (double)value));
612var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
616var verify = Enumerable.Range(1, 10).Select(x => (float)((float)x - (float)value));
624var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
628var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x - (int)value));
636var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
640var verify = Enumerable.Range(1, 10).Select(x => (long)((long)x - (long)value));
648var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
652var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x - (int)value));
660var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
664var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x - (int)value));
672var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
676var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)x - (uint)value));
684var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
688var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)x - (ulong)value));
696var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
700var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x - (int)value));
708var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
712var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value - (int)x));
720var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
724var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)value - (decimal)x));
732var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
736var verify = Enumerable.Range(1, 10).Select(x => (double)((double)value - (double)x));
744var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
748var verify = Enumerable.Range(1, 10).Select(x => (float)((float)value - (float)x));
756var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
760var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value - (int)x));
768var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
772var verify = Enumerable.Range(1, 10).Select(x => (long)((long)value - (long)x));
780var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
784var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value - (int)x));
792var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
796var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value - (int)x));
804var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
808var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)value - (uint)x));
816var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
820var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)value - (ulong)x));
828var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
832var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value - (int)x));
840var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
842var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
845var verify = Enumerable.Range(1, 10).Select(x => (int)(x * x));
853var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
855var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (decimal)x);
858var verify = Enumerable.Range(1, 10).Select(x => (decimal)(x * x));
866var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
868var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (double)x);
871var verify = Enumerable.Range(1, 10).Select(x => (double)(x * x));
879var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
881var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (float)x);
884var verify = Enumerable.Range(1, 10).Select(x => (float)(x * x));
892var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
894var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (int)x);
897var verify = Enumerable.Range(1, 10).Select(x => (int)(x * x));
905var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
907var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (long)x);
910var verify = Enumerable.Range(1, 10).Select(x => (long)(x * x));
918var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
920var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (sbyte)x);
923var verify = Enumerable.Range(1, 10).Select(x => (int)(x * x));
931var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
933var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (short)x);
936var verify = Enumerable.Range(1, 10).Select(x => (int)(x * x));
944var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
946var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (uint)x);
949var verify = Enumerable.Range(1, 10).Select(x => (uint)(x * x));
957var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
959var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ulong)x);
962var verify = Enumerable.Range(1, 10).Select(x => (ulong)(x * x));
970var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
972var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ushort)x);
975var verify = Enumerable.Range(1, 10).Select(x => (int)(x * x));
983var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
987var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
995var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
999var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)x * (decimal)value));
1007var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1011var verify = Enumerable.Range(1, 10).Select(x => (double)((double)x * (double)value));
1019var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1023var verify = Enumerable.Range(1, 10).Select(x => (float)((float)x * (float)value));
1031var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1035var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1043var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1047var verify = Enumerable.Range(1, 10).Select(x => (long)((long)x * (long)value));
1055var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1059var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1067var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1071var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1079var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1083var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)x * (uint)value));
1091var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1095var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)x * (ulong)value));
1103var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1107var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1115var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1119var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1127var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1131var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)x * (decimal)value));
1139var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1143var verify = Enumerable.Range(1, 10).Select(x => (double)((double)x * (double)value));
1151var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1155var verify = Enumerable.Range(1, 10).Select(x => (float)((float)x * (float)value));
1163var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1167var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1175var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1179var verify = Enumerable.Range(1, 10).Select(x => (long)((long)x * (long)value));
1187var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1191var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1199var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1203var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1211var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1215var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)x * (uint)value));
1223var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1227var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)x * (ulong)value));
1235var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1239var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x * (int)value));
1247var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1249var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1252var verify = Enumerable.Range(1, 10).Select(x => (int)(1));
1260var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1262var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (decimal)x);
1265var verify = Enumerable.Range(1, 10).Select(x => (decimal)(1));
1273var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1275var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (double)x);
1278var verify = Enumerable.Range(1, 10).Select(x => (double)(1));
1286var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1288var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (float)x);
1291var verify = Enumerable.Range(1, 10).Select(x => (float)(1));
1299var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1301var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (int)x);
1304var verify = Enumerable.Range(1, 10).Select(x => (int)(1));
1312var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1314var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (long)x);
1317var verify = Enumerable.Range(1, 10).Select(x => (long)(1));
1325var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1327var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (sbyte)x);
1330var verify = Enumerable.Range(1, 10).Select(x => (int)(1));
1338var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1340var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (short)x);
1343var verify = Enumerable.Range(1, 10).Select(x => (int)(1));
1351var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1353var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (uint)x);
1356var verify = Enumerable.Range(1, 10).Select(x => (uint)(1));
1364var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1366var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ulong)x);
1369var verify = Enumerable.Range(1, 10).Select(x => (ulong)(1));
1377var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1379var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ushort)x);
1382var verify = Enumerable.Range(1, 10).Select(x => (int)(1));
1390var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1394var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x / (int)value));
1402var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1406var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)x / (decimal)value));
1414var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1418var verify = Enumerable.Range(1, 10).Select(x => (double)((double)x / (double)value));
1426var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1430var verify = Enumerable.Range(1, 10).Select(x => (float)((float)x / (float)value));
1438var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1442var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x / (int)value));
1450var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1454var verify = Enumerable.Range(1, 10).Select(x => (long)((long)x / (long)value));
1462var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1466var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x / (int)value));
1474var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1478var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x / (int)value));
1486var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1490var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)x / (uint)value));
1498var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1502var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)x / (ulong)value));
1510var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1514var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x / (int)value));
1522var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1526var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value / (int)x));
1534var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1538var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)value / (decimal)x));
1546var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1550var verify = Enumerable.Range(1, 10).Select(x => (double)((double)value / (double)x));
1558var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1562var verify = Enumerable.Range(1, 10).Select(x => (float)((float)value / (float)x));
1570var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1574var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value / (int)x));
1582var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1586var verify = Enumerable.Range(1, 10).Select(x => (long)((long)value / (long)x));
1594var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1598var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value / (int)x));
1606var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1610var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value / (int)x));
1618var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1622var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)value / (uint)x));
1630var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1634var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)value / (ulong)x));
1642var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1646var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value / (int)x));
1654var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1656var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1659var verify = Enumerable.Range(1, 10).Select(x => (int)(0));
1667var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1669var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (decimal)x);
1672var verify = Enumerable.Range(1, 10).Select(x => (decimal)(0));
1680var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1682var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (double)x);
1685var verify = Enumerable.Range(1, 10).Select(x => (double)(0));
1693var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1695var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (float)x);
1698var verify = Enumerable.Range(1, 10).Select(x => (float)(0));
1706var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1708var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (int)x);
1711var verify = Enumerable.Range(1, 10).Select(x => (int)(0));
1719var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1721var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (long)x);
1724var verify = Enumerable.Range(1, 10).Select(x => (long)(0));
1732var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1734var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (sbyte)x);
1737var verify = Enumerable.Range(1, 10).Select(x => (int)(0));
1745var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1747var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (short)x);
1750var verify = Enumerable.Range(1, 10).Select(x => (int)(0));
1758var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1760var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (uint)x);
1763var verify = Enumerable.Range(1, 10).Select(x => (uint)(0));
1771var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1773var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ulong)x);
1776var verify = Enumerable.Range(1, 10).Select(x => (ulong)(0));
1784var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1786var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ushort)x);
1789var verify = Enumerable.Range(1, 10).Select(x => (int)(0));
1797var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1801var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x % (int)value));
1809var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1813var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)x % (decimal)value));
1821var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1825var verify = Enumerable.Range(1, 10).Select(x => (double)((double)x % (double)value));
1833var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1837var verify = Enumerable.Range(1, 10).Select(x => (float)((float)x % (float)value));
1845var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1849var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x % (int)value));
1857var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1861var verify = Enumerable.Range(1, 10).Select(x => (long)((long)x % (long)value));
1869var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1873var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x % (int)value));
1881var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1885var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x % (int)value));
1893var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1897var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)x % (uint)value));
1905var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1909var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)x % (ulong)value));
1917var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1921var verify = Enumerable.Range(1, 10).Select(x => (int)((int)x % (int)value));
1929var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1933var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value % (int)x));
1941var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1945var verify = Enumerable.Range(1, 10).Select(x => (decimal)((decimal)value % (decimal)x));
1953var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1957var verify = Enumerable.Range(1, 10).Select(x => (double)((double)value % (double)x));
1965var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1969var verify = Enumerable.Range(1, 10).Select(x => (float)((float)value % (float)x));
1977var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1981var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value % (int)x));
1989var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
1993var verify = Enumerable.Range(1, 10).Select(x => (long)((long)value % (long)x));
2001var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2005var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value % (int)x));
2013var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2017var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value % (int)x));
2025var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2029var verify = Enumerable.Range(1, 10).Select(x => (uint)((uint)value % (uint)x));
2037var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2041var verify = Enumerable.Range(1, 10).Select(x => (ulong)((ulong)value % (ulong)x));
2049var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2053var verify = Enumerable.Range(1, 10).Select(x => (int)((int)value % (int)x));
2061var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2063var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2066var verify = Enumerable.Range(1, 10).Select(x => true);
2076var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2078var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (decimal)x);
2081var verify = Enumerable.Range(1, 10).Select(x => true);
2091var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2093var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (double)x);
2096var verify = Enumerable.Range(1, 10).Select(x => true);
2106var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2108var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (float)x);
2111var verify = Enumerable.Range(1, 10).Select(x => true);
2121var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2123var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (int)x);
2126var verify = Enumerable.Range(1, 10).Select(x => true);
2136var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2138var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (long)x);
2141var verify = Enumerable.Range(1, 10).Select(x => true);
2151var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2153var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (sbyte)x);
2156var verify = Enumerable.Range(1, 10).Select(x => true);
2166var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2168var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (short)x);
2171var verify = Enumerable.Range(1, 10).Select(x => true);
2181var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2183var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (uint)x);
2186var verify = Enumerable.Range(1, 10).Select(x => true);
2196var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2198var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ulong)x);
2201var verify = Enumerable.Range(1, 10).Select(x => true);
2211var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2213var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ushort)x);
2216var verify = Enumerable.Range(1, 10).Select(x => true);
2226var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2230var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2238var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2242var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2250var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2254var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2262var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2266var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2274var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2278var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2286var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2290var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2298var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2302var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2310var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2314var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2322var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2326var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2334var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2338var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2346var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2350var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2358var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2360var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2363var verify = Enumerable.Range(1, 10).Select(x => true);
2373var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2375var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (decimal)x);
2378var verify = Enumerable.Range(1, 10).Select(x => true);
2388var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2390var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (double)x);
2393var verify = Enumerable.Range(1, 10).Select(x => true);
2403var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2405var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (float)x);
2408var verify = Enumerable.Range(1, 10).Select(x => true);
2418var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2420var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (int)x);
2423var verify = Enumerable.Range(1, 10).Select(x => true);
2433var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2435var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (long)x);
2438var verify = Enumerable.Range(1, 10).Select(x => true);
2448var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2450var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (sbyte)x);
2453var verify = Enumerable.Range(1, 10).Select(x => true);
2463var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2465var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (short)x);
2468var verify = Enumerable.Range(1, 10).Select(x => true);
2478var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2480var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (uint)x);
2483var verify = Enumerable.Range(1, 10).Select(x => true);
2493var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2495var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ulong)x);
2498var verify = Enumerable.Range(1, 10).Select(x => true);
2508var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2510var otherColumnEnumerable = Enumerable.Range(1, 10).Select(x => (ushort)x);
2513var verify = Enumerable.Range(1, 10).Select(x => true);
2523var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2527var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2535var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2539var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2547var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2551var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2559var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2563var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2571var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2575var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2583var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2587var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2595var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2599var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2607var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2611var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2619var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2623var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2631var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2635var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
2643var columnEnumerable = Enumerable.Range(1, 10).Select(x => (byte)x);
2647var verify = Enumerable.Range(1, 10).Select(x => (bool)(false));
DataFrameTests.BinaryOperations.cs (8)
164var dataFrameColumn1 = new DoubleDataFrameColumn("Double1", Enumerable.Range(0, 10).Select(x => (double)x));
174var dataFrameColumn1 = new BooleanDataFrameColumn("Bool1", Enumerable.Range(0, 10).Select(x => true));
175var dataFrameColumn2 = new BooleanDataFrameColumn("Bool2", Enumerable.Range(0, 10).Select(x => true));
206var dataFrameColumn1 = new DateTimeDataFrameColumn("DateTime1", Enumerable.Range(0, 5).Select(x => SampleDateTime.AddDays(x)));
208var dataFrameColumn2 = new DateTimeDataFrameColumn("DateTime2", Enumerable.Range(0, 4).Select(x => SampleDateTime.AddDays(x)));
304DataFrameColumn stringColumn = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => x.ToString()));
315DataFrameColumn stringColumnCopy = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => x.ToString()));
436Int32DataFrameColumn column = new Int32DataFrameColumn("Int", Enumerable.Range(0, 10));
DataFrameTests.cs (25)
63DataFrameColumn intColumn = new Int32DataFrameColumn("IntColumn", Enumerable.Range(0, rowCount).Select(x => x));
64DataFrameColumn floatColumn = new SingleDataFrameColumn("FloatColumn", Enumerable.Range(0, rowCount).Select(x => (float)x));
77DataFrameColumn bigColumn = new SingleDataFrameColumn("BigColumn", Enumerable.Range(0, rowCount + 1).Select(x => (float)x));
82DataFrameColumn smallColumn = new SingleDataFrameColumn("SmallColumn", Enumerable.Range(0, rowCount - 1).Select(x => (float)x));
87DataFrameColumn repeatedName = new SingleDataFrameColumn("FloatColumn", Enumerable.Range(0, rowCount).Select(x => (float)x));
91DataFrameColumn extraColumn = new SingleDataFrameColumn("OtherFloatColumn", Enumerable.Range(0, rowCount).Select(x => (float)x));
96DataFrameColumn intColumnCopy = new Int32DataFrameColumn("IntColumn", Enumerable.Range(0, rowCount).Select(x => x));
99DataFrameColumn differentIntColumn = new Int32DataFrameColumn("IntColumn1", Enumerable.Range(0, rowCount).Select(x => x));
118DataFrameColumn intColumn = new Int32DataFrameColumn("NewIntColumn", Enumerable.Range(0, 10).Select(x => x));
152DataFrameColumn intColumn = new Int32DataFrameColumn("NewIntColumn", Enumerable.Range(0, 10).Select(x => x));
220var column = new Int32DataFrameColumn("Int", Enumerable.Range(0, 10));
806Assert.Throws<ArgumentException>(() => df.Columns.Insert(1, new Int32DataFrameColumn("Int2", Enumerable.Range(0, 5).Select(x => x))));
1204StringDataFrameColumn column = new StringDataFrameColumn("Strings", Enumerable.Range(0, 11).Select(x => x.ToString()));
1250DataFrameColumn stringColumn = DataFrameColumn.Create("String", Enumerable.Range(0, length).Select(x => x.ToString()));
1252DataFrameColumn byteColumn = DataFrameColumn.Create("Byte", Enumerable.Range(0, length).Select(x => (byte)x));
1254DataFrameColumn decimalColumn = DataFrameColumn.Create("Decimal", Enumerable.Range(0, length).Select(x => (decimal)x));
1256DataFrameColumn doubleColumn = DataFrameColumn.Create("Double", Enumerable.Range(0, length).Select(x => (double)x));
1258DataFrameColumn floatColumn = DataFrameColumn.Create("Float", Enumerable.Range(0, length).Select(x => (float)x));
1260DataFrameColumn intColumn = DataFrameColumn.Create("Int", Enumerable.Range(0, length).Select(x => x));
1262DataFrameColumn longColumn = DataFrameColumn.Create("Long", Enumerable.Range(0, length).Select(x => (long)x));
1264DataFrameColumn sbyteColumn = DataFrameColumn.Create("Sbyte", Enumerable.Range(0, length).Select(x => (sbyte)x));
1266DataFrameColumn shortColumn = DataFrameColumn.Create("Short", Enumerable.Range(0, length).Select(x => (short)x));
1268DataFrameColumn uintColumn = DataFrameColumn.Create("Uint", Enumerable.Range(0, length).Select(x => (uint)x));
1270DataFrameColumn ulongColumn = DataFrameColumn.Create("Ulong", Enumerable.Range(0, length).Select(x => (ulong)x));
1272DataFrameColumn ushortColumn = DataFrameColumn.Create("Ushort", Enumerable.Range(0, length).Select(x => (ushort)x));
DataFrameTests.Utils.cs (11)
19DataFrameColumn dataFrameColumn1 = new Int32DataFrameColumn("Int1", Enumerable.Range(0, length).Select(x => x));
20DataFrameColumn dataFrameColumn2 = new Int32DataFrameColumn("Int2", Enumerable.Range(10, length).Select(x => x));
105DataFrameColumn boolColumn = new BooleanDataFrameColumn("Bool", Enumerable.Range(0, length).Select(x => x % 2 == 0));
117DataFrameColumn boolColumn = new BooleanDataFrameColumn("Bool", Enumerable.Range(0, length).Select(x => x % 2 == 0));
129DataFrameColumn stringColumn = new StringDataFrameColumn("String", Enumerable.Range(0, length).Select(x => x.ToString()));
136DataFrameColumn charColumn = new CharDataFrameColumn("Char", Enumerable.Range(0, length).Select(x => (char)(x + 65)));
150DataFrameColumn dateTimeColumn = new DateTimeDataFrameColumn("DateTime", Enumerable.Range(0, length).Select(x => SampleDateTime.AddDays(x)));
161IEnumerable<int> range = Enumerable.Range(startingFrom, length);
207DataFrameColumn baseColumn1 = DataFrameColumn.Create("Column1", Enumerable.Range(0, length).Select(x => (T1)Convert.ChangeType(x % 2 == 0 ? 0 : 1, typeof(T1))));
208DataFrameColumn baseColumn2 = DataFrameColumn.Create("Column2", Enumerable.Range(0, length).Select(x => (T2)Convert.ChangeType(x % 2 == 0 ? 0 : 1, typeof(T2))));
224IEnumerable<int> randomIndices = Enumerable.Range(0, (int)input.Rows.Count);
PrimitiveDataFrameColumnTests.cs (5)
63StringDataFrameColumn strCol2 = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => x.ToString()));
66StringDataFrameColumn strCol3 = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => (string)null));
97PrimitiveDataFrameColumn<int> dataFrameColumn1 = new PrimitiveDataFrameColumn<int>("Int1", Enumerable.Range(0, 10).Select(x => x));
126PrimitiveDataFrameColumn<int> dataFrameColumn1 = new PrimitiveDataFrameColumn<int>("Int1", Enumerable.Range(0, 10));
136PrimitiveDataFrameColumn<int> intColumn = new PrimitiveDataFrameColumn<int>("Int", Enumerable.Range(0, 10));
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.XUnitAssert.Tests (2)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions.Tests (4)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (4)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.Options.Contextual.Tests (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.ML.AutoML (8)
Microsoft.ML.AutoML.Tests (3)
Microsoft.ML.Core (6)
Microsoft.ML.Core.Tests (19)
UnitTests\TestUtilities.cs (13)
27int[] x = Enumerable.Range(0, 10).ToArray();
54List<float> x = Enumerable.Range(0, 1000000).Select(i => (float)i).ToList();
88double[] x = Enumerable.Range(0, 1000000).Select(i => (double)i).ToArray();
122int[] x = Enumerable.Range(0, 10).ToArray();
164int[] x = Enumerable.Range(0, 10).ToArray();
165int[] y = Enumerable.Range(0, 10).ToArray();
187int[] xOfDifferentLength = Enumerable.Range(0, 9).ToArray();
236float[] x = Enumerable.Range(0, 10).Select(i => (float)i).ToArray();
237float[] y = Enumerable.Range(0, 10).Select(i => (float)i).ToArray();
259float[] xOfDifferentLength = Enumerable.Range(0, 9).Select(i => (float)i).ToArray();
272double[] x = Enumerable.Range(0, 10).Select(i => (double)i).ToArray();
273double[] y = Enumerable.Range(0, 10).Select(i => (double)i).ToArray();
295double[] xOfDifferentLength = Enumerable.Range(0, 9).Select(i => (double)i).ToArray();
Microsoft.ML.Data (21)
Microsoft.ML.DataView (1)
Microsoft.ML.FastTree (30)
Microsoft.ML.GenAI.Core (1)
Microsoft.ML.GenAI.Phi (1)
Microsoft.ML.OnnxConverter (1)
Microsoft.ML.OnnxTransformer (1)
Microsoft.ML.Parquet (5)
Microsoft.ML.PCA (1)
Microsoft.ML.Samples (5)
Microsoft.ML.Samples.GPU (2)
Microsoft.ML.SearchSpace (1)
Microsoft.ML.SearchSpace.Tests (10)
UniformNumericOptionTests.cs (10)
25var sampleInputs = Enumerable.Range(0, 10).Select(i => i * 0.1);
36var sampleInputs = Enumerable.Range(0, 10).Select(i => i * 0.1);
47var sampleInputs = Enumerable.Range(0, 10).Select(i => Parameter.FromInt(i * 10));
65var sampleInputs = Enumerable.Range(0, 10).Select(i => Parameter.FromInt(Convert.ToInt32(Math.Pow(2, i))));
68foreach (var i in Enumerable.Range(0, 10))
79var sampleInputs = Enumerable.Range(0, 10).Select(i => i * 0.1);
92var sampleInputs = Enumerable.Range(0, 10).Select(i => i * 0.1);
105var sampleInputs = Enumerable.Range(0, 10).Select(i => Parameter.FromDouble(i * 10.0));
116var sampleInputs = Enumerable.Range(0, 10).Select(i => Parameter.FromDouble(Math.Pow(2, i)));
119foreach (var i in Enumerable.Range(0, 10))
Microsoft.ML.StandardTrainers (2)
Microsoft.ML.Sweeper (1)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.Tests (11)
Microsoft.ML.TimeSeries.Tests (1)
Microsoft.ML.Tokenizers (4)
Microsoft.ML.TorchSharp (6)
Microsoft.ML.Transforms (8)
Microsoft.ML.Vision (1)
Microsoft.Net.Http.Headers.Tests (1)
Microsoft.VisualBasic.Tests (6)
Microsoft\VisualBasic\ApplicationServices\SingleInstanceTests.cs (6)
105var tasks = Enumerable.Range(0, n).Select(i => Task.Factory.StartNew(() =>
133string[][] sentArgs = Enumerable.Range(0, n).Select(i => Enumerable.Range(0, i).Select(i => i.ToString()).ToArray()).ToArray();
154string[][] sentArgs = Enumerable.Range(0, n).Select(i => Enumerable.Range(0, i).Select(i => i.ToString()).ToArray()).ToArray();
157var tasks = Enumerable.Range(0, n).Select(i => Task.Factory.StartNew(() => { Assert.True(SendSecondInstanceArgs(pipeName, SendTimeout, sentArgs[i])); }, cancellationToken: default, creationOptions: default, scheduler: TaskScheduler.Default)).ToArray();
System.Text.RegularExpressions.Generator (1)
System.Windows.Forms.Tests (4)
TestingAppHost1.MyWebApp (1)
Wasm.Performance.TestApp (1)
XmlFormattersWebSite (2)