WindowResults implements MCMCResults { public int getNumberOfChains() { return d_nested.getNumberOfChains(); } WindowResults(MCMCResults nested, int start, int end); void addResultsListener(MCMCResultsListener l); int findParameter(Parameter p); int getNumberOfChains(); int getNumberOfSamples(); Parameter[] getParameters(); double getSample(int p, int c, int i); void removeResultsListener(MCMCResultsListener l); void clear();  }
@Test public void testNChains() { d_results = new WindowResults(d_fileResults, d_start, d_end); assertEquals(d_fileResults.getNumberOfChains(), d_results.getNumberOfChains()); }