// Path: src/test/java/com/linuxense/javadbf/testutils/DateUtils.java
// public static Date createDate(int year, int month, int day) {
// 	Calendar c = Calendar.getInstance();
// 	c.set(Calendar.YEAR, year);
// 	c.set(Calendar.MONTH, month  - 1);
// 	c.set(Calendar.DAY_OF_MONTH, day);
// 	c.set(Calendar.HOUR_OF_DAY, 0);
// 	c.set(Calendar.MINUTE, 0);
// 	c.set(Calendar.SECOND, 0);
// 	c.set(Calendar.MILLISECOND, 0);
// 	return c.getTime();
// }


import static com.linuxense.javadbf.testutils.DateUtils.createDate;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.util.Date;
import org.junit.Assert;
import org.junit.Test;
			Assert.assertEquals(5.0, ((Number)row[4]).doubleValue(), 0.0001);
			Assert.assertEquals("Fifth memo", row[5]);
			
			row = reader.nextRecord();
			Assert.assertEquals("Six", row[0]);
			Assert.assertTrue(row[1] instanceof Number);
			Assert.assertEquals(6, ((Number)row[1]).intValue());
			Assert.assertTrue(row[2] instanceof Date);
			Assert.assertEquals(createDate(1901,1,1), row[2]);
			Assert.assertNull(row[3]);
			Assert.assertTrue(row[4] instanceof Number);			
			Assert.assertEquals(6.0, ((Number)row[4]).doubleValue(), 0.0001);
			Assert.assertEquals("Sixth memo", row[5]);
			
			row = reader.nextRecord();
			Assert.assertEquals("Seven", row[0]);
			Assert.assertTrue(row[1] instanceof Number);
			Assert.assertEquals(7, ((Number)row[1]).intValue());
			Assert.assertTrue(row[2] instanceof Date);
			Assert.assertEquals(createDate(1999,12,31), row[2]);
			Assert.assertNull(row[3]);
			Assert.assertTrue(row[4] instanceof Number);			
			Assert.assertEquals(7.0, ((Number)row[4]).doubleValue(), 0.0001);
			Assert.assertEquals("Seventh memo", row[5]);
			
			row = reader.nextRecord();
			Assert.assertEquals("Eight", row[0]);
			Assert.assertTrue(row[1] instanceof Number);
			Assert.assertEquals(8, ((Number)row[1]).intValue());
			Assert.assertTrue(row[2] instanceof Date);
// Path: src/test/java/com/linuxense/javadbf/testutils/DateUtils.java
// public static Date createDate(int year, int month, int day) {
// 	Calendar c = Calendar.getInstance();
// 	c.set(Calendar.YEAR, year);
// 	c.set(Calendar.MONTH, month  - 1);
// 	c.set(Calendar.DAY_OF_MONTH, day);
// 	c.set(Calendar.HOUR_OF_DAY, 0);
// 	c.set(Calendar.MINUTE, 0);
// 	c.set(Calendar.SECOND, 0);
// 	c.set(Calendar.MILLISECOND, 0);
// 	return c.getTime();
// }


// Path: src/test/java/com/linuxense/javadbf/FixtureDBase8bTest.java
import static com.linuxense.javadbf.testutils.DateUtils.createDate;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.util.Date;
import org.junit.Assert;
import org.junit.Test;

			Assert.assertEquals(5.0, ((Number)row[4]).doubleValue(), 0.0001);
			Assert.assertEquals("Fifth memo", row[5]);
			
			row = reader.nextRecord();
			Assert.assertEquals("Six", row[0]);
			Assert.assertTrue(row[1] instanceof Number);
			Assert.assertEquals(6, ((Number)row[1]).intValue());
			Assert.assertTrue(row[2] instanceof Date);
			Assert.assertEquals(createDate(1901,1,1), row[2]);
			Assert.assertNull(row[3]);
			Assert.assertTrue(row[4] instanceof Number);			
			Assert.assertEquals(6.0, ((Number)row[4]).doubleValue(), 0.0001);
			Assert.assertEquals("Sixth memo", row[5]);
			
			row = reader.nextRecord();
			Assert.assertEquals("Seven", row[0]);
			Assert.assertTrue(row[1] instanceof Number);
			Assert.assertEquals(7, ((Number)row[1]).intValue());
			Assert.assertTrue(row[2] instanceof Date);
			Assert.assertEquals(createDate(1999,12,31), row[2]);
			Assert.assertNull(row[3]);
			Assert.assertTrue(row[4] instanceof Number);			
			Assert.assertEquals(7.0, ((Number)row[4]).doubleValue(), 0.0001);
			Assert.assertEquals("Seventh memo", row[5]);
			
			row = reader.nextRecord();
			Assert.assertEquals("Eight", row[0]);
			Assert.assertTrue(row[1] instanceof Number);
			Assert.assertEquals(8, ((Number)row[1]).intValue());
			Assert.assertTrue(row[2] instanceof Date);
			Assert.assertEquals(createDate(1919,12,31), row[2]);