Show
Ignore:
Timestamp:
07/31/09 08:38:18 (15 years ago)
Author:
vbarta
Message:

custom test location for harness tests (extended UnitTest?++), configurable tolerance - all tests pass (most of the time)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/mpdf_harness.h

    r447 r456  
    3333    int nsamples; 
    3434    mat R; 
     35    double tolerance; 
    3536 
    3637public:     
    37     mpdf_harness():nsamples(1000) { } 
     38    static void test_config(const char *config_file_name); 
    3839 
    39     virtual void test(); 
     40    mpdf_harness():nsamples(1000), tolerance(0.1) { } 
     41 
     42    virtual void test(const char *config_name, int idx); 
    4043 
    4144    void from_setting(const Setting &set);