From: Wolfgang Bangerth Date: Sat, 19 Jun 2004 22:19:56 +0000 (+0000) Subject: New test X-Git-Tag: v8.0.0~15024 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fddeb688229853113b0d24380220d7aa1ca9c06;p=dealii.git New test git-svn-id: https://svn.dealii.org/trunk@9435 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/sparsity_pattern_01.cc b/tests/bits/sparsity_pattern_01.cc new file mode 100644 index 0000000000..76e1d24bce --- /dev/null +++ b/tests/bits/sparsity_pattern_01.cc @@ -0,0 +1,51 @@ +//---------------------------- sparsity_pattern_01.cc --------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 2004 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.cc --------------------------- + + +// check SparsityPattern::copy_from(CompressedSparsityPattern) + +#include "../tests.h" +#include +#include +#include +#include +#include + + +void test () +{ + const unsigned int N = 100; + CompressedSparsityPattern csp (N,N); + for (unsigned int i=0; i