9 references to SetFieldWidths
Microsoft.Data.Analysis.Tests (9)
TextFieldParserTests.cs (9)
109
parser.
SetFieldWidths
(new[] { 1, 2, int.MaxValue });
111
parser.
SetFieldWidths
(new[] { int.MaxValue, 3 });
113
Assert.Throws<ArgumentException>(() => parser.
SetFieldWidths
(new[] { -1, -1 }));
184
parser.
SetFieldWidths
(new[] { 3, 4 });
262
parser.
SetFieldWidths
(new[] { 3, -1 });
293
parser.
SetFieldWidths
(new[] { -1 });
296
parser.
SetFieldWidths
(new[] { 3, -1 });
299
parser.
SetFieldWidths
(new[] { 3, 2 });
302
parser.
SetFieldWidths
(new[] { 3, 2 });