Skip to content

Commit

Permalink
Partial test for bug 85, error parsing float
Browse files Browse the repository at this point in the history
  • Loading branch information
albfernandez committed Jun 10, 2021
1 parent 2857488 commit d196a39
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/test/java/com/linuxense/javadbf/bug85float/Bug85Test.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package com.linuxense.javadbf.bug85float;

import java.io.File;
import java.io.FileNotFoundException;

import org.junit.Assume;
import org.junit.Test;

import com.linuxense.javadbf.testutils.DbfToTxtTest;

public class Bug85Test {

public Bug85Test() {
super();
}

@Test
public void printFile() throws FileNotFoundException {
File home = new File(System.getProperty("user.home"));
File f = new File(home, "javadbf/PRODUTOS.DBF");
Assume.assumeTrue(f.exists());
int records = DbfToTxtTest.parseFileCountRecords(f);
System.out.println(f.getName() + " " + records);
}
}

0 comments on commit d196a39

Please sign in to comment.