From 884f35886c672fe82cf1844feebac274ce44a10b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 26 Aug 2010 09:51:16 +0000 Subject: [PATCH] Add new test. git-svn-id: https://svn.dealii.org/trunk@21719 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/Makefile | 1 + tests/base/point_01.cc | 46 +++++++++++++++++++++++++++++++++ tests/base/point_01/cmp/generic | 4 +++ 3 files changed, 51 insertions(+) create mode 100644 tests/base/point_01.cc create mode 100644 tests/base/point_01/cmp/generic diff --git a/tests/base/Makefile b/tests/base/Makefile index 48cba35a64..e3055c1da2 100644 --- a/tests/base/Makefile +++ b/tests/base/Makefile @@ -74,6 +74,7 @@ tests_x = geometry_info_* \ table \ tensor \ tensor_* \ + point_* \ index_set_* \ symmetric_tensor_* \ full_tensor_* \ diff --git a/tests/base/point_01.cc b/tests/base/point_01.cc new file mode 100644 index 0000000000..d5a52af458 --- /dev/null +++ b/tests/base/point_01.cc @@ -0,0 +1,46 @@ +//---------------------------- point_01.cc --------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 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. +// +//---------------------------- point_01.cc --------------------------- + + +#include "../tests.h" +#include +#include +#include +#include +#include + + +template +void check () +{ + Point p; + for (unsigned int i=0; i(); + check<2>(); + check<3>(); +} diff --git a/tests/base/point_01/cmp/generic b/tests/base/point_01/cmp/generic new file mode 100644 index 0000000000..44a99ce6f8 --- /dev/null +++ b/tests/base/point_01/cmp/generic @@ -0,0 +1,4 @@ + +DEAL::0 +DEAL::0 1.00 +DEAL::0 1.00 2.00 -- 2.39.5