Changeset 1084


Ignore:
Timestamp:
Feb 13, 2008, 8:28:15 PM (13 years ago)
Author:
Markus Ringnér
Message:

Adding tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/ncc_test.cc

    r1076 r1084  
    149149  result1(0,2)=result1(0,3)=sqrt(15.0);
    150150  slack = deviation(prediction1,result1);
     151  if(!std::isnan(ncc2.centroids()(1,0)))
     152    ok=false;
    151153  if (slack > slack_bound || std::isnan(slack)){
    152154    *error << "Difference to expected prediction too large\n";
Note: See TracChangeset for help on using the changeset viewer.