From 1d38555f9271e1d1c1990d3ccf4aab80542cea89 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Fri, 15 Apr 2016 13:44:07 +0200 Subject: [PATCH] adapt to the removal of the tags for local-AD evaluations --- tests/test_blackoilfluidstate.cc | 33 +++++--------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/tests/test_blackoilfluidstate.cc b/tests/test_blackoilfluidstate.cc index 1e6f521f5..05ed1fe0e 100644 --- a/tests/test_blackoilfluidstate.cc +++ b/tests/test_blackoilfluidstate.cc @@ -23,8 +23,8 @@ /*! * \file * - * \brief This test makes sure that the programming interface is - * observed by all fluid systems + * \brief This test ensures that the API of the black-oil fluid state conforms to the + * fluid state specification */ #include "config.h" @@ -36,42 +36,19 @@ #include #include - -// include dune's MPI helper header -#include #include - #include -// check the API of the black-oil fluid states -template -void testBlackOilFluidState() +int main(int argc, char **argv) { typedef TTAG(BlackOilModel) TypeTag; typedef typename GET_PROP_TYPE(TypeTag, Evaluation) Evaluation; typedef Ewoms::BlackOilFluidState FluidState; + Dune::MPIHelper::instance(argc, argv); + FluidState fs; checkFluidState(fs); -} -class TestAdTag; - -template -inline void testAll() -{ - typedef Opm::LocalAd::Evaluation Evaluation; - - // ensure that all fluid states are API-compliant - testBlackOilFluidState(); - testBlackOilFluidState(); -} - -int main(int argc, char **argv) -{ - Dune::MPIHelper::instance(argc, argv); - testAll(); - testAll() -; return 0; }