### Question:
Force implements Direction, Updatable { @Override public boolean equals(Object object) { if (this == object) { return true; } if (object == null || object.getClass() != getClass()) { return false; } final Force other = (Force) object; return Double.doubleToLongBits(fh) == Double.doubleToLongBits(other.fh) && Double.doubleToLongBits(fv) == Double.doubleToLongBits(other.fv) && Double.doubleToLongBits(sensibility) == Double.doubleToLongBits(other.sensibility) && Double.doubleToLongBits(velocity) == Double.doubleToLongBits(other.velocity); } Force();  Force(double fh, double fv);  Force(double fh, double fv, double velocity, double sensibility);  Force(Force force); static Force fromVector(double ox, double oy, double x, double y); void zero(); void setVelocity(double velocity); void setSensibility(double sensibility); void addDirection(double extrp, Direction direction); void addDirection(double extrp, double fh, double fv); void setDirection(Direction direction); void setDirection(double fh, double fv); void setDestination(double fh, double fv); void setDirectionMaximum(Direction max); void setDirectionMinimum(Direction min); double getVelocity(); double getSensibility(); boolean isDecreasingHorizontal(); boolean isIncreasingHorizontal(); @Override void update(double extrp); @Override double getDirectionHorizontal(); @Override double getDirectionVertical(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString();  }### Answer:
@Test void testEquals() { final Force force = new Force(1.0, 2.0, 3.0, 4.0); assertEquals(force, force); assertEquals(force, new Force(1.0, 2.0, 3.0, 4.0)); assertNotEquals(force, null); assertNotEquals(force, new Object()); assertNotEquals(force, new Force(1.0, 2.0, 3.0, 1.0)); assertNotEquals(force, new Force(1.0, 2.0, 1.0, 4.0)); assertNotEquals(force, new Force(1.0, 2.0, 1.0, 1.0)); assertNotEquals(force, new Force(1.0, 1.0, 3.0, 4.0)); assertNotEquals(force, new Force(1.0, 1.0, 3.0, 1.0)); assertNotEquals(force, new Force(1.0, 1.0, 1.0, 4.0)); assertNotEquals(force, new Force(2.0, 2.0, 3.0, 4.0)); assertNotEquals(force, new Force(2.0, 2.0, 3.0, 1.0)); assertNotEquals(force, new Force(2.0, 2.0, 1.0, 4.0)); assertNotEquals(force, new Force(2.0, 2.0, 1.0, 1.0)); assertNotEquals(force, new Force(2.0, 1.0, 3.0, 4.0)); assertNotEquals(force, new Force(2.0, 1.0, 3.0, 1.0)); assertNotEquals(force, new Force(2.0, 1.0, 1.0, 4.0)); }