From 115b8640235267a9bdacf2cbecaf41f22137fec3 Mon Sep 17 00:00:00 2001 From: george321 Date: Mon, 7 Oct 2024 01:02:03 +0300 Subject: [PATCH] Fix unit tests --- .../service/VesselComplianceServiceIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/gmitaros/vesselmetrics/service/VesselComplianceServiceIntegrationTest.java b/src/test/java/com/gmitaros/vesselmetrics/service/VesselComplianceServiceIntegrationTest.java index 764d90e..7ca9c59 100644 --- a/src/test/java/com/gmitaros/vesselmetrics/service/VesselComplianceServiceIntegrationTest.java +++ b/src/test/java/com/gmitaros/vesselmetrics/service/VesselComplianceServiceIntegrationTest.java @@ -32,7 +32,7 @@ void testCompareVesselCompliance_ValidVessels() { assertEquals(vesselCode1, response.getVesselCode1()); assertEquals(vesselCode2, response.getVesselCode2()); assertEquals(-217.32789972602322, response.getCompliance1(), 0.01, "Compliance 1 is incorrect"); - assertEquals(2.234496738902765, response.getCompliance2(), 0.01, "Compliance 2 is incorrect"); + assertEquals(2.148288849167802, response.getCompliance2(), 0.01, "Compliance 2 is incorrect"); assertEquals(response.getResult(), "19310 is more compliant."); }