Exemplo n.º 1
0
		public void CanReadUnQuotedValueFromStream()
		{
			var sourceReader = new SourceReader(_csv, Encoding.UTF8, 7);
			var arraySegment = sourceReader.ReadFromStream().Skip(8).First().Values[0];
			Assert.Equal("95111", new string(arraySegment.Array, arraySegment.Offset, arraySegment.Count));
		}
Exemplo n.º 2
0
		public void CanReadFromStream()
		{
			var sourceReader = new SourceReader(_csv, Encoding.UTF8, 1);
			Assert.Equal(11, sourceReader.ReadFromStream().Count());
		}