diff --git a/tests/test_compressedpropertyaccess.cpp b/tests/test_compressedpropertyaccess.cpp index 3b635510..8836de4d 100644 --- a/tests/test_compressedpropertyaccess.cpp +++ b/tests/test_compressedpropertyaccess.cpp @@ -241,14 +241,14 @@ BOOST_FIXTURE_TEST_CASE(CAExtractIntUndefinedAny, // Construct compressed integer (int) array based on global, fully // specified array extracted from input deck. Custom type-check tag. +struct RegionID : public Opm::GridPropertyAccess::Tag::Any {}; + BOOST_FIXTURE_TEST_CASE(CAExtractIntDefinedCustom, TestFixture) { typedef Opm::GridPropertyAccess::ArrayPolicy ::ExtractFromDeck ECLGlobalIntArray; - struct RegionID : public Opm::GridPropertyAccess::Tag::Any {}; - typedef Opm::GridPropertyAccess:: Compressed CompressedArray; @@ -283,14 +283,14 @@ BOOST_FIXTURE_TEST_CASE(CAConstantDoubleAny, // Construct compressed double array based on global constant value // for all cells. Custom type-check tag. +struct MyTag : public Opm::GridPropertyAccess::Tag::Any {}; + BOOST_FIXTURE_TEST_CASE(CAConstantDoubleCustom, TestFixture) { typedef Opm::GridPropertyAccess::ArrayPolicy ::Constant ConstantDoubleArray; - struct MyTag : public Opm::GridPropertyAccess::Tag::Any {}; - typedef Opm::GridPropertyAccess:: Compressed CompressedArray; @@ -333,8 +333,6 @@ BOOST_FIXTURE_TEST_CASE(CAConstantIntCustom, typedef Opm::GridPropertyAccess::ArrayPolicy ::Constant ConstantIntArray; - struct MyTag : public Opm::GridPropertyAccess::Tag::Any {}; - typedef Opm::GridPropertyAccess:: Compressed CompressedArray;