PriceCalculator { static double getCpuPrice(long totalVCoresUsedSeconds) { double totalVCoresUsedHours = totalVCoresUsedSeconds / 3600; return totalVCoresUsedHours * CPU_PER_THREAD_PER_HOUR_EURO; }    }
@Test public void canGetCpuPrice() throws Exception { assertEquals(1.32, PriceCalculator.getCpuPrice(3600000L), 1.0e-2); }