From: Wolfgang Bangerth Date: Thu, 23 Feb 2006 02:22:11 +0000 (+0000) Subject: New very simple test that unfortunately fails... X-Git-Tag: v8.0.0~12215 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c327642bc29911502fb325c001725bf857823611;p=dealii.git New very simple test that unfortunately fails... git-svn-id: https://svn.dealii.org/trunk@12467 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/hp/mapping_collection_01.cc b/tests/hp/mapping_collection_01.cc index dec550b439..087446cea2 100644 --- a/tests/hp/mapping_collection_01.cc +++ b/tests/hp/mapping_collection_01.cc @@ -30,7 +30,7 @@ void test () { hp::MappingCollection mapping_collection; mapping_collection.push_back (MappingQ(2)); - mapping_collection.push_back (MappingQ1()); + mapping_collection.push_back (MappingQ(1)); // now create a copy and make sure // it goes out of scope before the diff --git a/tests/hp/mapping_collection_02.cc b/tests/hp/mapping_collection_02.cc new file mode 100644 index 0000000000..8015bfda6e --- /dev/null +++ b/tests/hp/mapping_collection_02.cc @@ -0,0 +1,50 @@ +//---------------------------- mapping_collection_02.cc --------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 2005, 2006 by the deal.II authors +// +// This file is subject to QPL and may not be distributed +// without copyright and license information. Please refer +// to the file deal.II/doc/license.html for the text and +// further information on this license. +// +//---------------------------- mapping_collection_02.cc --------------------------- + + +// a test that triggers really hard to track down failures in +// mapping_collection_01 in a really simple way + + +#include +#include +#include + +#include + + +template +void test () +{ + hp::MappingCollection mapping_collection; + mapping_collection.push_back (MappingQ(2)); + mapping_collection.push_back (MappingQ(1)); +} + + + +int main () +{ + std::ofstream logfile("mapping_collection_02/output"); + logfile.precision(2); + + deallog.attach(logfile); + deallog.depth_console(0); + deallog.threshold_double(1.e-10); + + test<1> (); + test<2> (); + test<3> (); + + deallog << "OK" << std::endl; +} diff --git a/tests/hp/mapping_collection_02/cmp/generic b/tests/hp/mapping_collection_02/cmp/generic new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/hp/mapping_collection_02/cmp/generic @@ -0,0 +1,2 @@ + +DEAL::OK