### Question:
FilterCoefficients { public int getFilterOrder() { return Math.max(aCoefficients.length - 1, bCoefficients.length - 1); } FilterCoefficients(double[] bCoefficients, double[] aCoefficients); int getFilterOrder(); int getNumberOfCoefficients(); double[] getACoefficients(); double[] getBCoefficients(); @Override boolean equals(Object o); @Override int hashCode(); void print(); @Override String toString();  }### Answer:
@Test public void testGetFilterOrder() { FilterCoefficients coeffs = new FilterCoefficients( new double[] {0.01875398, 0.0937699, 0.18753981, 0.18753981, 0.0937699, 0.01875398}, new double[] {1.0, -1.13877891, 1.08854509, -0.46710982, 0.1315193}); assertEquals(5, coeffs.getFilterOrder()); }