Skip to content

Commit

Permalink
Remove unused variables and make expectedBiomass final
Browse files Browse the repository at this point in the history
  • Loading branch information
norellia committed Dec 6, 2023
1 parent 7bb20cb commit a3f4175
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import uk.ac.ox.oxfish.biology.Species;
import uk.ac.ox.oxfish.geography.currents.CurrentPatternMapSupplier;
import uk.ac.ox.oxfish.model.FishState;
import uk.ac.ox.oxfish.model.scenario.EpoAbundanceScenario;
Expand Down Expand Up @@ -37,11 +36,7 @@ public void testRunBiologyOnlyScenario() {

fishState.start();

final Species bet = fishState.getSpecies("Bigeye tuna");
final Species yft = fishState.getSpecies("Yellowfin tuna");
final Species skj = fishState.getSpecies("Skipjack tuna");

Map<Integer, Map<String, Double>> expectedBiomass = recordStream(biologyTestFile)
final Map<Integer, Map<String, Double>> expectedBiomass = recordStream(biologyTestFile)
.collect(groupingBy(
record -> record.getInt("day"),
toMap(record -> record.getString("species"), record -> record.getDouble("biomass"))
Expand Down

0 comments on commit a3f4175

Please sign in to comment.