mirror of https://github.com/apache/lucene.git
SOLR-3209 -- sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aaa129c37b
commit
29a1f13e35
|
@ -738,7 +738,7 @@ abstract public class SolrExampleTests extends SolrJettyTestBase
|
|||
assertNotNull( stats );
|
||||
|
||||
assertEquals( 5.0, ((Double)stats.getMin()).doubleValue(), 0 );
|
||||
assertEquals( 20.0, ((Double)stats.getMin()).doubleValue(), 0 );
|
||||
assertEquals( 20.0, ((Double)stats.getMax()).doubleValue(), 0 );
|
||||
assertEquals( new Long(nums.length), stats.getCount() );
|
||||
assertEquals( new Long(0), stats.getMissing() );
|
||||
|
||||
|
@ -782,7 +782,7 @@ abstract public class SolrExampleTests extends SolrJettyTestBase
|
|||
assertEquals( inStockF.getCount(), inStockT.getCount() );
|
||||
assertEquals( stats.getCount().longValue(), inStockF.getCount()+inStockT.getCount() );
|
||||
|
||||
assertTrue( "check that min max faceted ok", ((Double)inStockF.getMin()).doubleValue() > ((Double)inStockF.getMax()).doubleValue() );
|
||||
assertTrue( "check that min max faceted ok", ((Double)inStockF.getMin()).doubleValue() < ((Double)inStockF.getMax()).doubleValue() );
|
||||
assertEquals( "they have the same distribution", inStockF.getStddev(), inStockT.getStddev() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue