herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Utilities
tests
utilitiesTestsGlobalFixture.h
1
// -*- C++ -*-
2
//
3
// utilitiesTestGlobalFixture.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4
// Copyright (C) 2002-2019 The Herwig Collaboration, 2015 Marco A. Harrendorf
5
//
6
// Herwig is licenced under version 3 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#include <boost/test/unit_test.hpp>
10
11
#include "ThePEG/Repository/StandardRandom.h"
12
#include "ThePEG/Repository/UseRandom.h"
13
#include "ThePEG/Config/Unitsystem.h"
14
15
struct
FixGlobal1
{
16
FixGlobal1
() : randomNumberStandardGenerator(), dummy(&randomNumberStandardGenerator) {
17
BOOST_TEST_MESSAGE(
"setup global fixture for utilitiesTest"
);
18
}
19
20
~FixGlobal1
() { BOOST_TEST_MESSAGE(
"teardown global fixture for utilitiesTest"
); }
21
22
ThePEG::StandardRandom
randomNumberStandardGenerator;
23
ThePEG::UseRandom
dummy;
24
};
25
26
BOOST_GLOBAL_FIXTURE(
FixGlobal1
);
ThePEG::StandardRandom
ThePEG::UseRandom
FixGlobal1
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6