From: bangerth Date: Wed, 20 Jun 2007 13:44:19 +0000 (+0000) Subject: One more test X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afbdc750a12271dff5cf4ebaa1236789dd2e0a70;p=dealii-svn.git One more test git-svn-id: https://svn.dealii.org/trunk@14788 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/sparsity_pattern_01_x.cc b/tests/bits/sparsity_pattern_01_x.cc new file mode 100644 index 0000000000..4f184d44fc --- /dev/null +++ b/tests/bits/sparsity_pattern_01_x.cc @@ -0,0 +1,52 @@ +//---------------------------- sparsity_pattern_01_x.cc --------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 2004, 2005, 2007 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. +// +//---------------------------- sparsity_pattern_01_x.cc --------------------------- + + +// check SparsityPattern::copy_from(CompressedSetSparsityPattern) + +#include "../tests.h" +#include +#include +#include +#include +#include + + +void test () +{ + const unsigned int N = 100; + CompressedSetSparsityPattern csp (N,N); + for (unsigned int i=0; i