Show
Ignore:
Timestamp:
07/28/09 16:44:38 (15 years ago)
Author:
vbarta
Message:

split epdf_harness to common base & testing specific to a particular class

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/epdf_harness.cpp

    r436 r439  
    4444    UI::get(mean, set, "mean"); 
    4545    UI::get(variance, set, "variance"); 
    46     UI::get(lognc, set, "lognc"); 
    4746    UI::get(support, set, "support"); 
    4847 
     
    6362    CHECK_CLOSE(mean, num_mean2(hepdf.get(), xb, yb, nsamples, nsamples), 0.1); 
    6463    CHECK_CLOSE(integral, normcoef(hepdf.get(), xb, yb, nsamples, nsamples), 0.1); 
    65  
    66     egiw *wide = dynamic_cast<egiw *>(hepdf.get()); 
    67     CHECK(wide); 
    68  
    69     CHECK_CLOSE(lognc, wide->lognc(), epsilon); 
    7064} 
    7165