RankProbabilitySummary extends AbstractObservable implements MCMCResultsListener, Summary { public boolean getDefined() { return d_ready; } RankProbabilitySummary(MCMCResults results, List<Treatment> treatments);  RankProbabilitySummary(double[][] rankProbabilityMatrix, List<Treatment> treatments); void resultsEvent(MCMCResultsEvent event); List<Treatment> getTreatments(); double getValue(Treatment t, int rank); boolean getDefined(); static final String PROPERTY_VALUE; }
@Test public void testDefined() { Summary x = d_summary; assertFalse(x.getDefined()); d_results.makeSamplesAvailable(); assertTrue(x.getDefined()); }
@Test public void testWithUninitializedResults() { RankProbabilitySummary x = new RankProbabilitySummary(new YadasResults(), d_treatments); assertFalse(x.getDefined()); }