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.h

    r436 r439  
    3131    vec mean; 
    3232    vec variance; 
    33     double lognc; 
    3433    mat support; 
    3534    int nsamples; 
     
    3736 
    3837public: 
    39     epdf_harness():lognc(0), nsamples(100), integral(0) { } 
     38    epdf_harness():nsamples(100), integral(0) { } 
    4039 
    41     void test(); 
     40    virtual void test(); 
    4241 
    4342    void from_setting(const Setting &set); 
     43 
     44protected: 
     45    epdf *get_epdf() { return hepdf.get(); } 
    4446}; 
    4547