lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject lucenenet git commit: print out values as doubles
Date Sat, 30 May 2015 20:22:18 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests e6e834c9a -> 52f6561eb


print out values as doubles


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/52f6561e
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/52f6561e
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/52f6561e

Branch: refs/heads/failingtests
Commit: 52f6561eb3613b8f2cc40dc5132db1b848f0d866
Parents: e6e834c
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 30 16:22:01 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 30 16:22:01 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Search/QueryUtils.cs | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/52f6561e/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Search/QueryUtils.cs b/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
index 814a9bf..3e2ef39 100644
--- a/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
+++ b/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
@@ -488,6 +488,9 @@ namespace Lucene.Net.Search
                             Console.WriteLine("Failed, these two were deemed not equal:");
                             Console.WriteLine(skipToScore.ToString("R"));
                             Console.WriteLine(scorer_.Score().ToString("R"));
+                            Console.WriteLine(((double)skipToScore).ToString("R"));
+                            Console.WriteLine(((double)scorer_.Score()).ToString("R"));
+                            
                             throw;
                         }
 


Mime
View raw message