root/library/tests/mpdf_test.cpp @ 477

Revision 477, 0.7 kB (checked in by mido, 15 years ago)

panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc

RevLine 
[447]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
10using namespace bdm;
11
12template<>
[477]13const ParticularUI<mgamma> &ParticularUI<mgamma>::factory (
14    ParticularUI<mgamma> ( "mgamma" ) );
[447]15
[459]16template<>
[477]17const ParticularUI<mlnorm<ldmat> > &ParticularUI<mlnorm<ldmat> >::factory (
18    ParticularUI<mlnorm<ldmat> > ( "mlnorm<ldmat>" ) );
[459]19
[477]20TEST ( test_mepdf ) {
21        mpdf_harness::test_config ( "mepdf.cfg" );
[462]22}
23
[477]24TEST ( test_mgamma ) {
25        mpdf_harness::test_config ( "mgamma.cfg" );
[447]26}
[459]27
[477]28TEST ( test_mlnorm ) {
29        mpdf_harness::test_config ( "mlnorm.cfg" );
[459]30}
Note: See TracBrowser for help on using the browser.