@Test public void getCpuLoad() { assertEquals(0.1, new ServerLoad(0.1, 0.2, 0.3).getCpuLoad(), DELTA_DOUBLE_COMP); }
public double getCpuLoad() { return cpuLoad; }
ServerLoad { public double getCpuLoad() { return cpuLoad; } }
ServerLoad { public double getCpuLoad() { return cpuLoad; } ServerLoad(double cpuLoad, double ramLoad, double diskLoad); }
ServerLoad { public double getCpuLoad() { return cpuLoad; } ServerLoad(double cpuLoad, double ramLoad, double diskLoad); double getTotalOverload(); double getCpuLoad(); double getRamLoad(); double getDiskLoad(); double getUnusedCpuPerc(); double getUnusedRamPerc(); double getUnusedDiskPerc(); @Override String toString(); boolean isIdle(); }
ServerLoad { public double getCpuLoad() { return cpuLoad; } ServerLoad(double cpuLoad, double ramLoad, double diskLoad); double getTotalOverload(); double getCpuLoad(); double getRamLoad(); double getDiskLoad(); double getUnusedCpuPerc(); double getUnusedRamPerc(); double getUnusedDiskPerc(); @Override String toString(); boolean isIdle();  }