### Question:
FilterTimeDomainResponseCalculator extends FilterResponseCalculator { public FilterTimeDomainResponse getImpulseResponse(int numberOfPoints) { double[] excitation = generateImpulseExcitation(numberOfPoints); double[] impulseResponseAmplitudes = AbstractIIRSinglechannelSampleFilter.filter(filterCoefficients.getBCoefficients(), filterCoefficients.getACoefficients(), excitation); FilterTimeDomainResponse stepResponse = new FilterTimeDomainResponse(impulseResponseAmplitudes, samplingFrequency); return stepResponse; } FilterTimeDomainResponseCalculator(double samplingFrequency, FilterCoefficients filterCoefficients); FilterTimeDomainResponse getStepResponse(int numberOfPoints); FilterTimeDomainResponse getImpulseResponse(int numberOfPoints);  }### Answer:
@Test public void testGetImpulseResponse() { checkImpulseResponse(new double[] {0.34,0.12, 0.6, 0.33}, new double[] {1, 0.4, 0.01, 0.02}, 128.0, new double[] {0.3400, -0.0160, 0.6030, 0.0822, -0.0386, 0.0025, -0.0023, 0.0017, -0.0007, 0.0003, -0.0001, 0.0001, -0.0000 }); }