lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject [2/3] lucene-solr:master: SOLR-12609: include actual value in two MathExpressionTest.testMultiVariateNormalDistribution asserts
Date Tue, 31 Jul 2018 18:30:53 GMT
SOLR-12609: include actual value in two MathExpressionTest.testMultiVariateNormalDistribution
asserts


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/8a448280
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/8a448280
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/8a448280

Branch: refs/heads/master
Commit: 8a4482805bfdcb31450b25a824b8f785543e8f4d
Parents: 4a1ee04
Author: Christine Poerschke <cpoerschke@apache.org>
Authored: Tue Jul 31 18:49:38 2018 +0100
Committer: Christine Poerschke <cpoerschke@apache.org>
Committed: Tue Jul 31 19:29:50 2018 +0100

----------------------------------------------------------------------
 .../apache/solr/client/solrj/io/stream/MathExpressionTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/8a448280/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/MathExpressionTest.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/MathExpressionTest.java
b/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/MathExpressionTest.java
index fe782b2..3806b22 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/MathExpressionTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/MathExpressionTest.java
@@ -3006,8 +3006,8 @@ public class MathExpressionTest extends SolrCloudTestCase {
     assertEquals(sample.size(), 2);
     Number sample1 = sample.get(0);
     Number sample2 = sample.get(1);
-    assertTrue(sample1.doubleValue() > -30 && sample1.doubleValue() < 30);
-    assertTrue(sample2.doubleValue() > 50 && sample2.doubleValue() < 250);
+    assertTrue(sample.toString(), sample1.doubleValue() > -30 && sample1.doubleValue()
< 30);
+    assertTrue(sample.toString(), sample2.doubleValue() > 50 && sample2.doubleValue()
< 250);
 
     Number density = (Number)tuples.get(0).get("j");
     assertEquals(density.doubleValue(), 0.007852638121596995, .00001);


Mime
View raw message