Changeset 1671 for trunk


Ignore:
Timestamp:
Dec 22, 2008, 4:29:07 AM (12 years ago)
Author:
Peter
Message:

refs #470: statistics_test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/statistics_test.cc

    r1500 r1671  
    7777    suite.add(false);
    7878  double kurtosis_gsl=statistics::kurtosis(gsl_vec);
    79   if (!(std::abs(kurtosis_gsl+1.5616363636363637113)<1e-10) )
    80     suite.add(false);
     79  suite.add(suite.equal_fix(kurtosis_gsl,-1.5616363636363637113,1e-10));
    8180  statistics::Average func;
    8281  suite.add(suite.equal(func(gsl_vec.begin(), gsl_vec.end()),4.5));
Note: See TracChangeset for help on using the changeset viewer.