Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:38:30

0001 // -*- C++ -*-
0002 //
0003 // repositoryTestGlobalFixture.h is a part of ThePEG - Toolkit for HEP Event Generation
0004 // Copyright (C) 1999-2019 Leif Lonnblad, 2015 Marco A. Harrendorf
0005 //
0006 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef ThePEG_Repository_Tests_GlobalFixture_H
0010 #define ThePEG_Repository_Tests_GlobalFixture_H
0011 
0012 #include <boost/test/unit_test.hpp>
0013 
0014 #include "ThePEG/Repository/StandardRandom.h"
0015 #include "ThePEG/Repository/UseRandom.h"
0016 #include "ThePEG/Config/Unitsystem.h"
0017 
0018 struct FixGlobal1 {
0019   ThePEG::StandardRandom srng;
0020   ThePEG::UseRandom urng;
0021 
0022   FixGlobal1() : srng(), urng(&srng) {
0023     BOOST_TEST_MESSAGE( "setup global fixture for repositoryTest" ); 
0024   }
0025   
0026   ~FixGlobal1() { 
0027     BOOST_TEST_MESSAGE( "teardown global fixture for repositoryTest" ); 
0028   }
0029 };
0030 
0031 BOOST_GLOBAL_FIXTURE(FixGlobal1);
0032 
0033 #endif