[med-svn] [mia] 07/08: apply the patch in the build tree

Gert Wollny gert-guest at moszumanska.debian.org
Fri Sep 5 09:59:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

gert-guest pushed a commit to branch master
in repository mia.

commit 7920319064f73d8a2668b9d9d6195f97769b4530
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Sep 4 12:08:37 2014 +0200

    apply the patch in the build tree
---
 mia/3d/test_stackdisttrans.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mia/3d/test_stackdisttrans.cc b/mia/3d/test_stackdisttrans.cc
index 36ef5d3..38186d8 100644
--- a/mia/3d/test_stackdisttrans.cc
+++ b/mia/3d/test_stackdisttrans.cc
@@ -154,9 +154,9 @@ BOOST_AUTO_TEST_CASE( test_anisotropic_data )
 	BOOST_REQUIRE(result0.size() == ref_result.size()); 
 	for( auto test = result0.begin(), ref = ref_result.begin(); test != result0.end(); 
 	     ++test, ++ref) {
-		BOOST_CHECK_EQUAL(*test, *ref); 
+		BOOST_CHECK_EQUAL(test->point, ref->point); 
+		BOOST_CHECK_CLOSE(test->distance, ref->distance, 0.1); 
 	}
 }
 
 
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mia.git



More information about the debian-med-commit mailing list