Changeset 489 for library/tests

Show
Ignore:
Timestamp:
08/08/09 13:43:16 (15 years ago)
Author:
smidl
Message:

Mpdf redesing is complet - all tests pass (except mlnorm<chmat> which is irrelevant)

Location:
library/tests
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • library/tests/epdf_harness.cpp

    r484 r489  
    175175        } while ( ( tc < CurrentContext::max_trial_count ) && 
    176176                  !UnitTest::AreClose ( R, actual( tc - 1 ), tolerance ) ); 
     177         
    177178        if ( ( tc == CurrentContext::max_trial_count ) && 
    178179             ( !UnitTest::AreClose ( R, actual( CurrentContext::max_trial_count - 1 ), tolerance ) ) ) { 
  • library/tests/mepdf.cfg

    r484 r489  
    1818  mean = [ 1.1, -1.0 ]; 
    1919  R = ( "matrix", 2, 2, [ 1.0, -0.5, -0.5, 2.0 ] ); 
     20  variance = [ 1.0, 2.0 ]; 
    2021  tolerance = 0.1; 
    21   variance = [ 0.3, 0.3 ]; 
    2222} ); 
    2323 
  • library/tests/mgamma.cfg

    r484 r489  
    2020  mean = [ 1.5, 1.7 ]; 
    2121  R = ( "matrix", 2, 2, [ 2.25, 0.0, 0.0, 2.89 ] ); 
    22   variance = [ 0.4, 0.4 ]; 
     22  variance = [ 2.25, 2.89]; 
    2323  tolerance = 0.4; 
    2424} ); 
  • library/tests/mlnorm.cfg

    r484 r489  
    1010  cond = [ 1.5, 1.7 ]; 
    1111  mean = [ 1.5, 1.7 ]; 
    12   R = ( "matrix", 2, 2, [ 1.26402, 0.378231, 0.378231, 5.15925 ] ); 
     12  R = ( "matrix", 2, 2, [ 1.2, 0.3, 0.3, 5.0 ] ); 
     13  variance = [ 1.2, 5.0 ]; 
    1314  tolerance = 0.6; 
    14   variance = [ 0.2, 0.2 ]; 
    15 } ); 
     15}, 
     16{ 
     17  class = "mpdf_harness"; 
     18  mpdf = { 
     19    class = "mlnorm<chmat>"; 
     20    A = ( "matrix", 2, 2, [ 1.0, 0.0, 0.0, 1.0 ] ); 
     21    const = [ 0, 0 ]; 
     22    R = ( "matrix", 2, 2, [ 1.2, 0.3, 0.3, 5.0 ] ); 
     23  }; 
     24  cond = [ 1.5, 1.7 ]; 
     25  mean = [ 1.5, 1.7 ]; 
     26  R = ( "matrix", 2, 2, [ 1.2, 0.3, 0.3, 5.0 ] ); 
     27  variance = [ 1.2, 5.0 ]; 
     28  tolerance = 0.6; 
     29}); 
    1630