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