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; }