Changeset 617 for trunk/test/averager_test.cc
 Timestamp:
 Aug 31, 2006, 10:58:05 AM (17 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/test/averager_test.cc
r616 r617 54 54 if (!equal(a,*a1)){ 55 55 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; 56 68 *error << "error: Averager(const double x,const double xx,const long n)\n"; 57 69 } … … 196 208 bool equal(const Averager& a, const Averager& b) 197 209 { 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; 198 213 return (a.n()==b.n() && a.mean()==b.mean() && a.variance()==b.variance()); 199 214 }
Note: See TracChangeset
for help on using the changeset viewer.