Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Functions
curvespecparser.cpp File Reference
#include <boost/make_shared.hpp>
#include <boost/test/unit_test.hpp>
#include <ored/marketdata/curvespecparser.hpp>
#include <oret/toplevelfixture.hpp>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (testCurveSpecParsing)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( testCurveSpecParsing  )

Definition at line 48 of file curvespecparser.cpp.

48 {
49 checkCurveSpec("Equity/USD/.SPX", CurveSpec::CurveType::Equity, ".SPX");
50 checkCurveSpec("Equity/USD/BBG:BRK\\/B UN Equity", CurveSpec::CurveType::Equity, "BBG:BRK/B UN Equity");
51 checkCurveSpec("Yield/USD/USD-FedFunds", CurveSpec::CurveType::Yield, "USD-FedFunds");
52}