LoessSettings { public final int getJump() { return fJump; } LoessSettings(int width, int degree, int jump);  LoessSettings(int width, int degree);  LoessSettings(int width); final int getWidth(); final int getDegree(); final int getJump(); @Override String toString();  }
@Test public void defaultJumpCalculationIsConsistentForOddWidth() { LoessSettings settings1 = new LoessSettings(51, 0); LoessSettings settings2 = new LoessSettings(51); assertEquals(6, settings1.getJump()); assertEquals(6, settings2.getJump()); }
@Test public void defaultJumpCalculationIsConsistentForEvenWidth() { LoessSettings settings1 = new LoessSettings(50, 0); LoessSettings settings2 = new LoessSettings(50); assertEquals(6, settings1.getJump()); assertEquals(6, settings2.getJump()); }