reader.close();
}
@Test
public void test136() throws Exception {
CsvReader reader = CsvReader.parse("1\n\n1\r\r1\r\n\r\n1\n\r1");
Assert.assertTrue(reader.getSkipEmptyRecords());
Assert.assertTrue(reader.readRecord());
Assert.assertEquals(1, reader.getColumnCount());
Assert.assertEquals("1", reader.get(0));
Assert.assertEquals(0L, reader.getCurrentRecord());
Assert.assertTrue(reader.readRecord());
Assert.assertEquals(1, reader.getColumnCount());
Assert.assertEquals("1", reader.get(0));
Assert.assertEquals(1L, reader.getCurrentRecord());
Assert.assertTrue(reader.readRecord());
Assert.assertEquals(1, reader.getColumnCount());
Assert.assertEquals("1", reader.get(0));
Assert.assertEquals(2L, reader.getCurrentRecord());
Assert.assertTrue(reader.readRecord());
Assert.assertEquals(1, reader.getColumnCount());
Assert.assertEquals("1", reader.get(0));
Assert.assertEquals(3L, reader.getCurrentRecord());
Assert.assertTrue(reader.readRecord());
Assert.assertEquals(1, reader.getColumnCount());
Assert.assertEquals("1", reader.get(0));
Assert.assertEquals(4L, reader.getCurrentRecord());
Assert.assertFalse(reader.readRecord());
reader.close();
}