modif DataCsv.java et repertoir test
This commit is contained in:
parent
ad0e5f090f
commit
55fec686b0
2 changed files with 11 additions and 5 deletions
|
|
@ -2,11 +2,17 @@ package fr.myny.data;
|
|||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
class DataCsvTest {
|
||||
|
||||
@Test
|
||||
void getCsv() {
|
||||
void getCSV() throws IOException {
|
||||
DataCsv csv = new DataCsv();
|
||||
csv.getCsv("src/main/resources/loto_201911.zip");
|
||||
|
||||
File f = new File("src/main/resources/loto_201911.csv");
|
||||
assertTrue(f.exists());
|
||||
}
|
||||
}
|
||||
Reference in a new issue