test_EclipseIO.cpp: removed use of test_assert functions from ERT.
This commit is contained in:
parent
2dce52478c
commit
0679a63a3b
@ -43,7 +43,6 @@
|
||||
// ERT stuff
|
||||
#include <ert/util/ert_unique_ptr.hpp>
|
||||
#include <ert/util/TestArea.hpp>
|
||||
#include <ert/util/test_util.hpp>
|
||||
|
||||
#include <ert/ecl/ecl_kw.h>
|
||||
#include <ert/ecl/ecl_grid.h>
|
||||
@ -354,11 +353,11 @@ BOOST_AUTO_TEST_CASE(EclipseIOIntegration) {
|
||||
checkEgridFile( eclGrid );
|
||||
loadWells( "FOO.EGRID", "FOO.UNRST" );
|
||||
|
||||
ecl_file_type * ecl_file = ecl_file_open("./FOO.INIT", 0);
|
||||
ecl_file_type * ecl_file = ecl_file_open("FOO.INIT", 0);
|
||||
BOOST_CHECK( ecl_file_has_kw(ecl_file, "STR_V") );
|
||||
ecl_kw_type * kw = ecl_file_iget_named_kw(ecl_file, "STR_V", 0);
|
||||
test_assert_double_equal(67, ecl_kw_iget_as_double(kw, 2));
|
||||
test_assert_double_equal(89, ecl_kw_iget_as_double(kw, 26));
|
||||
BOOST_CHECK(67 == ecl_kw_iget_as_double(kw, 2));
|
||||
BOOST_CHECK(89 == ecl_kw_iget_as_double(kw, 26));
|
||||
|
||||
|
||||
std::ifstream file( "FOO.UNRST", std::ios::binary );
|
||||
|
Loading…
Reference in New Issue
Block a user