diff --git a/pom.xml b/pom.xml index f9be3c84..7c6089d6 100644 --- a/pom.xml +++ b/pom.xml @@ -42,20 +42,12 @@ - - 44.0.0 + 44.1.0 org.gridsuite.sensitivityanalysis.server 1.0.5 5.0.0-alpha.14 gridsuite org.gridsuite:sensitivity-analysis-server - - - 1.12.0 - 1.6.0 @@ -177,12 +169,10 @@ org.gridsuite gridsuite-filter - ${gridsuite-filter.version} org.gridsuite gridsuite-computation - ${gridsuite-computation.version} diff --git a/src/test/java/org/gridsuite/sensitivityanalysis/server/SensitivityAnalysisControllerTest.java b/src/test/java/org/gridsuite/sensitivityanalysis/server/SensitivityAnalysisControllerTest.java index 1de1a1c3..64ac9171 100644 --- a/src/test/java/org/gridsuite/sensitivityanalysis/server/SensitivityAnalysisControllerTest.java +++ b/src/test/java/org/gridsuite/sensitivityanalysis/server/SensitivityAnalysisControllerTest.java @@ -478,16 +478,16 @@ void csvExportTest() throws Exception { expectedCsvLines.put(Pair.of(splitLine[0], splitLine[1]), Arrays.asList(getValueFromString(splitLine[2], language), getValueFromString(splitLine[3], language))); } assertEquals(75.51, expectedCsvLines.get(Pair.of("L1-5-1", "B2-G")).get(0), Math.pow(10, -6)); - assertEquals(-0.173, expectedCsvLines.get(Pair.of("L1-5-1", "B2-G")).get(1), Math.pow(10, -6)); + assertEquals(-0.086, expectedCsvLines.get(Pair.of("L1-5-1", "B2-G")).get(1), Math.pow(10, -6)); assertEquals(75.51, expectedCsvLines.get(Pair.of("L1-5-1", "B1-G")).get(0), Math.pow(10, -6)); - assertEquals(0.0, expectedCsvLines.get(Pair.of("L1-5-1", "B1-G")).get(1)); + assertEquals(0.086, expectedCsvLines.get(Pair.of("L1-5-1", "B1-G")).get(1)); assertEquals(73.238, expectedCsvLines.get(Pair.of("L2-3-1", "B2-G")).get(0), Math.pow(10, -6)); - assertEquals(0.028, expectedCsvLines.get(Pair.of("L2-3-1", "B2-G")).get(1), Math.pow(10, -6)); + assertEquals(0.014, expectedCsvLines.get(Pair.of("L2-3-1", "B2-G")).get(1), Math.pow(10, -6)); assertEquals(73.238, expectedCsvLines.get(Pair.of("L2-3-1", "B1-G")).get(0), Math.pow(10, -6)); - assertEquals(0.0, expectedCsvLines.get(Pair.of("L2-3-1", "B1-G")).get(1)); + assertEquals(-0.014, expectedCsvLines.get(Pair.of("L2-3-1", "B1-G")).get(1)); } }