Show
Ignore:
Timestamp:
11/13/09 09:15:50 (15 years ago)
Author:
mido
Message:

stresssuite - halfway point

Files:
1 moved

Legend:

Unmodified
Added
Removed
  • library/tests/stresssuite/kalman_QRexh_stress.cpp

    r717 r721  
    22#include <estim/kalman.h> 
    33#include <estim/particles.h> 
     4#include "../mat_checks.h" 
    45 
    56using namespace bdm; 
     
    910using std::endl; 
    1011 
    11 int main() { 
     12TEST ( kalman_QRexh_stress ) { 
    1213        // Klaman filter 
    1314        mat A, B, C, D, R, Q, P0; 
     
    1516        mat Mu0;// read from matlab 
    1617        // input from Matlab 
    17         it_file fin ( "testKF.it" ); 
     18        it_file fin ( "kalman_stress.it" ); 
    1819 
    1920        mat Dt, XQRt, eR, eQ; 
     
    2324 
    2425        if ( !xxx ) { 
    25                 bdm_error ( "testKF.it not found" ); 
     26                bdm_error ( "kalman_stress.it not found" ); 
    2627        } 
    2728 
     
    7778        } 
    7879 
    79         it_file fou ( "testKF_QR_exh.it" ); 
     80        it_file fou ( "kalman_stress_QR_exh.it" ); 
    8081 
    8182        fou << Name ( "LL" ) << LL; 
    8283        fou << Name ( "Q1" ) << vQ1; 
    8384        fou << Name ( "Q2" ) << vQ2; 
    84         //Exit program: 
    85         return 0; 
    86  
    8785}