
Index: olena/ChangeLog from Giovanni Palma <giovanni@lrde.epita.fr> * tests/convol/tests/nagao: Disable test. +2004-04-13 Giovanni Palma <giovanni@lrde.epita.fr> + * tests/convol/tests/md5_convol_fast_gaussian_hh3: Correct the test to make it success on mac. Index: olena/tests/convol/tests/nagao --- olena/tests/convol/tests/nagao Fri, 26 Mar 2004 20:56:28 +0100 van-vl_n (oln/m/19_nagao 1.1 600) +++ olena/tests/convol/tests/nagao Tue, 13 Apr 2004 15:12:13 +0200 palma_g (oln/m/19_nagao 1.1 600) @@ -6,6 +6,10 @@ #include <oln/utils/md5.hh> #include "data.hh" #include "check.hh" + +// There is a problem with the way of testing this algorithm. Md5 +// will not return the same result since nagao result may differ a +// little bit depending on the machine used (float). int main() { bool fail (false); @@ -27,7 +31,10 @@ fail = fail | (oln::utils::md5(ng) != oln::utils::key(data_key_g)); if (!fail) + { std::cout << "OK" << std::endl; + return true; // XFAIL + } else { std::cout << "FAIL" << std::endl; -- Giovanni Palma EPITA - promo 2005 - membre d'EpX - LRDE Mob. : +33 (0)6 60 97 31 74
participants (1)
-
Giovanni Palma