Finish Completion Linear.
This commit is contained in:
@@ -31,4 +31,20 @@ class CompletionTest {
|
||||
testp = Completion.completeColumnsMoyenne(testp,getInfes,setInfes);
|
||||
System.out.println(testp);
|
||||
}
|
||||
|
||||
@org.junit.jupiter.api.Test
|
||||
void completePoissonLinear() throws InputFileException, RawDataOverflow {
|
||||
RawData test = InputFactory.readData("testComplete.csv");
|
||||
|
||||
HashSet<Poisson> testp = Mackerel.parse(test);
|
||||
|
||||
System.out.println(testp);
|
||||
|
||||
Function<Poisson,Double> getLength = Poisson::getLength;
|
||||
Function<Poisson,Double> getInfes = Poisson::getInfestation;
|
||||
BiConsumer<Poisson,Double> setInfes = Poisson::setInfestation;
|
||||
|
||||
testp = Completion.completeColumnsLinear(testp,getLength,getInfes,setInfes);
|
||||
System.out.println(testp);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user