| Revision 477, 0.7 kB
            (checked in by mido, 16 years ago) | 
        
          | 
panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc 
 | 
      
      
    | Line |  | 
|---|
| 1 | #define BDMLIB // not an ideal way to prevent double registration of UI factories... | 
|---|
| 2 | #include "base/bdmbase.h" | 
|---|
| 3 | #include "base/user_info.h" | 
|---|
| 4 | #include "stat/exp_family.h" | 
|---|
| 5 | #include "itpp_ext.h" | 
|---|
| 6 | #include "mpdf_harness.h" | 
|---|
| 7 | #include "mat_checks.h" | 
|---|
| 8 | #include "UnitTest++.h" | 
|---|
| 9 |  | 
|---|
| 10 | using namespace bdm; | 
|---|
| 11 |  | 
|---|
| 12 | template<> | 
|---|
| 13 | const ParticularUI<mgamma> &ParticularUI<mgamma>::factory ( | 
|---|
| 14 | ParticularUI<mgamma> ( "mgamma" ) ); | 
|---|
| 15 |  | 
|---|
| 16 | template<> | 
|---|
| 17 | const ParticularUI<mlnorm<ldmat> > &ParticularUI<mlnorm<ldmat> >::factory ( | 
|---|
| 18 | ParticularUI<mlnorm<ldmat> > ( "mlnorm<ldmat>" ) ); | 
|---|
| 19 |  | 
|---|
| 20 | TEST ( test_mepdf ) { | 
|---|
| 21 | mpdf_harness::test_config ( "mepdf.cfg" ); | 
|---|
| 22 | } | 
|---|
| 23 |  | 
|---|
| 24 | TEST ( test_mgamma ) { | 
|---|
| 25 | mpdf_harness::test_config ( "mgamma.cfg" ); | 
|---|
| 26 | } | 
|---|
| 27 |  | 
|---|
| 28 | TEST ( test_mlnorm ) { | 
|---|
| 29 | mpdf_harness::test_config ( "mlnorm.cfg" ); | 
|---|
| 30 | } | 
|---|