Ignore:
Timestamp:
Aug 31, 2006, 10:58:05 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Cleaned up stray gslapi stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/averager_test.cc

    r616 r617  
    5454  if (!equal(a,*a1)){
    5555    ok=false;
     56    std::cout << a.sum_x() << std::endl;
     57    std::cout << a.sum_xx() << std::endl;
     58    std::cout << a.n() << std::endl;
     59    std::cout << a.variance() << std::endl;
     60    std::cout << a.mean() << std::endl;
     61    std::cout << a1->sum_x() << std::endl;
     62    std::cout << a1->sum_xx() << std::endl;
     63    std::cout << a1->n() << std::endl;
     64    std::cout << a1->variance() << std::endl;
     65    std::cout << a1->mean() << std::endl;
     66    std::cout << a.mean() - a1->mean() << std::endl;
     67    std::cout << a.variance() - a1->variance() << std::endl;
    5668    *error << "error: Averager(const double x,const double xx,const long n)\n";
    5769  }
     
    196208bool equal(const Averager& a, const Averager& b)
    197209{
     210//  std::cout << (a.n()==b.n()) << std::endl;
     211//  std::cout << (a.mean()==b.mean()) << std::endl;
     212//  std::cout << (a.variance()==b.variance()) << std::endl;
    198213  return (a.n()==b.n() && a.mean()==b.mean() && a.variance()==b.variance());
    199214}
Note: See TracChangeset for help on using the changeset viewer.