DeckValue under namespace Opm.

This commit is contained in:
Steinar Foss 2019-09-26 15:08:21 +02:00
parent af878ba229
commit fd986cb397
3 changed files with 13 additions and 1 deletions

View File

@ -22,6 +22,8 @@
#include <string>
namespace Opm {
class DeckValue {
public:
@ -53,7 +55,7 @@ class DeckValue {
};
}
#endif

View File

@ -21,6 +21,7 @@
#include <opm/parser/eclipse/Deck/DeckValue.hpp>
namespace Opm {
DeckValue::DeckValue():
DeckValue(0)
@ -106,3 +107,5 @@ void DeckValue::reset(const std::string& value) {
this->string_value = value;
}
}

View File

@ -4,7 +4,14 @@
#define BOOST_TEST_MODULE DeckValueTests
#include <boost/test/unit_test.hpp>
#include <opm/parser/eclipse/Parser/Parser.hpp>
#include <opm/parser/eclipse/Parser/ParserKeyword.hpp>
#include <opm/parser/eclipse/Parser/ParserKeywords/A.hpp>
#include <opm/parser/eclipse/Deck/DeckValue.hpp>
#include <opm/parser/eclipse/Deck/DeckKeyword.hpp>
using namespace Opm;
BOOST_AUTO_TEST_CASE(DeckValueTest) {