Skip to content
Snippets Groups Projects
Commit bc324456 authored by René Fritze's avatar René Fritze Committed by René Milk
Browse files

[test] make sure eoc gridpovider are at least minimally coverred

parent a8214c84
No related branches found
No related tags found
No related merge requests found
import dune.xt.grid.types as grid_types
from dune.xt.codegen import typeid_to_typedef_name as safe_name
# alberta needs manual flag adding in cmake, so we skip it here
all_grids = ((safe_name(g), g) for g in grid_types.all_types(cache, list(range(1, 4))) if 'Alberta' not in g)
// This file is part of the dune-xt-grid project:
// https://github.com/dune-community/dune-xt-grid
// Copyright 2009-2018 dune-xt-grid developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
// with "runtime exception" (http://www.dune-project.org/license.html)
// Authors:
// Rene Milk (2018)
#include <dune/xt/common/test/main.hxx>
#include <dune/xt/grid/gridprovider/eoc.hh>
#include <dune/xt/grid/grids.hh>
{% for name, type in config.all_grids %}
GTEST_TEST(EocProvider_{{name}}, layers)
{
using Level = Dune::XT::Grid::LevelBasedEOCGridProvider<{{type}}>;
using DD = Dune::XT::Grid::DdSubdomainsBasedEOCGridProvider<{{type}}>;
using Leaf = Dune::XT::Grid::LeafBasedEOCGridProvider<{{type}}>;
}
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment