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

astyler run over all test sources
general_suite added
cleanup of \test directory finished

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/testsuite/egiw_test.cpp

    r717 r722  
    4545        int n = 100; 
    4646        rectangular_support Sup; 
    47         Sup.set_parameters("{[-2.,4.], [1.,5.], [0.,2.]} ", n*ones_i(E.dimension())); 
    48          
    49         double summ = exp(E.evallog(Sup.first_vec())); 
     47        Sup.set_parameters ( "{[-2.,4.], [1.,5.], [0.,2.]} ", n*ones_i ( E.dimension() ) ); 
     48 
     49        double summ = exp ( E.evallog ( Sup.first_vec() ) ); 
    5050        // sum all likelihood at all points of support 
    5151        for ( int k = 1; k < Sup.points(); k++ ) { // ALL b 
    52                 summ += exp (E.evallog(Sup.next_vec())); 
     52                summ += exp ( E.evallog ( Sup.next_vec() ) ); 
    5353        } 
    5454 
    55         CHECK_CLOSE ( 1.0, summ*prod(Sup._steps()), 0.01 ); 
     55        CHECK_CLOSE ( 1.0, summ*prod ( Sup._steps() ), 0.01 ); 
    5656} 
    5757