@Test public void getMechanicalRisk() throws Exception { assertEquals(mechanicalRisk, parameters.getMechanicalRisk()); }
public int getMechanicalRisk() { return mechanicalRisk; }
CarParameters { public int getMechanicalRisk() { return mechanicalRisk; } }
CarParameters { public int getMechanicalRisk() { return mechanicalRisk; } CarParameters(int mechanicalRisk, int aerodynamicRisk, int strategicRisk, Tire tire); }
CarParameters { public int getMechanicalRisk() { return mechanicalRisk; } CarParameters(int mechanicalRisk, int aerodynamicRisk, int strategicRisk, Tire tire); int getMechanicalRisk(); int getAerodynamicRisk(); int getStrategicRisk(); Tire getTire(); boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
CarParameters { public int getMechanicalRisk() { return mechanicalRisk; } CarParameters(int mechanicalRisk, int aerodynamicRisk, int strategicRisk, Tire tire); int getMechanicalRisk(); int getAerodynamicRisk(); int getStrategicRisk(); Tire getTire(); boolean equals(Object other); @Override int hashCode(); @Override String toString();  }