Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Typedefs | Functions
shiftscenariogenerator.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <orea/scenario/shiftscenariogenerator.hpp>
#include <ored/utilities/to_string.hpp>
#include <oret/toplevelfixture.hpp>
#include <test/oreatoplevelfixture.hpp>

Go to the source code of this file.

Typedefs

typedef ShiftScenarioGenerator::ScenarioDescription SSDes
 
typedef SSDes::Type SSType
 
typedef RiskFactorKey RFKey
 
typedef RFKey::KeyType RFType
 

Functions

 BOOST_AUTO_TEST_CASE (testShiftScenarioStringConstruction)
 

Typedef Documentation

◆ SSDes

Definition at line 30 of file shiftscenariogenerator.cpp.

◆ SSType

Definition at line 31 of file shiftscenariogenerator.cpp.

◆ RFKey

Definition at line 32 of file shiftscenariogenerator.cpp.

◆ RFType

Definition at line 33 of file shiftscenariogenerator.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( testShiftScenarioStringConstruction  )

Definition at line 60 of file shiftscenariogenerator.cpp.

60 {
61 string strDes;
62 for (const auto& des : generateDescriptions()) {
63 strDes = to_string(des);
64 SSDes desFromString(strDes);
65 BOOST_CHECK_EQUAL(des, desFromString);
66 }
67}
std::string to_string(const LocationInfo &l)
+ Here is the call graph for this function: