Skip to content

Commit

Permalink
[template] Give users a PETSc include so that they don't forget it la…
Browse files Browse the repository at this point in the history
…ter.

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/projects/template@21134 b5f69653-2bf5-0310-8201-b0dafb8e1405
  • Loading branch information
jmpf committed Feb 28, 2014
1 parent 70523c9 commit 90fb987
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/TestHello.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright (c) 2005-2012, University of Oxford.
Copyright (c) 2005-2014, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
Expand Down Expand Up @@ -37,7 +37,10 @@ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define TESTHELLO_HPP_

#include <cxxtest/TestSuite.h>

/* Most Chaste code uses PETSc to solve linear algebra problems. This involves starting PETSc at the beginning of a test-suite
* and closing it at the end. (If you never run code in parallel then it is safe to replace PetscSetupAndFinalize.hpp with FakePetscSetUp.hpp)
*/
//#include "PetscSetupAndFinalize.hpp"
#include "Hello.hpp"

/**
Expand All @@ -60,7 +63,7 @@ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
class TestHello : public CxxTest::TestSuite
{
public:
void testHello()
void TestHelloClass()
{
// Create an object called 'world' of class 'Hello',
// (Hello.hpp is #included from the 'src' folder.)
Expand Down

0 comments on commit 90fb987

Please sign in to comment.