From: wolf Date: Sat, 19 Jun 2004 22:19:56 +0000 (+0000) Subject: New test X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f340d1d4d68c0ad2295b8941e55bdaef186750d7;p=dealii-svn.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