Added dimension to RSVD table; required new "quantity" Rs.

This commit is contained in:
Joakim Hove
2013-12-15 22:31:54 +01:00
parent 9de20014fc
commit 5f9f37e35e
4 changed files with 30 additions and 22 deletions

View File

@@ -46,10 +46,9 @@ BOOST_AUTO_TEST_CASE( parse_EQUIL_OK ) {
DeckRecordConstPtr rec1 = kw1->getRecord(0);
DeckRecordConstPtr rec3 = kw1->getRecord(2);
DeckItemConstPtr item1 = rec1->getItem("table");
BOOST_CHECK( fabs(item1->getRawDouble(0) - 2382) < 0.001);
DeckItemPtr item1 = rec1->getItem("table");
BOOST_CHECK( fabs(item1->getSIDouble(0) - 2382) < 0.001);
DeckItemConstPtr item3 = rec3->getItem("table");
BOOST_CHECK( fabs(item3->getRawDouble(7) - 106.77) < 0.001);
DeckItemPtr item3 = rec3->getItem("table");
BOOST_CHECK( fabs(item3->getSIDouble(7) - 106.77) < 0.001);
}