/[escript]/trunk/finley/test/MeshAdapterTestCase.cpp
ViewVC logotype

Contents of /trunk/finley/test/MeshAdapterTestCase.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (show annotations)
Fri Jan 11 07:45:58 2008 UTC (11 years, 7 months ago) by trankine
File size: 1369 byte(s)
And get the *(&(*&(* name right
1
2 /* $Id$ */
3
4 /*******************************************************
5 *
6 * Copyright 2003-2007 by ACceSS MNRF
7 * Copyright 2007 by University of Queensland
8 *
9 * http://esscc.uq.edu.au
10 * Primary Business: Queensland, Australia
11 * Licensed under the Open Software License version 3.0
12 * http://www.opensource.org/licenses/osl-3.0.php
13 *
14 *******************************************************/
15
16 #include "finley/CppAdapter/MeshAdapter.h"
17 #include "finley/CppAdapter/MeshAdapterFactory.h"
18
19 #include "escript/AbstractContinuousDomain.h"
20
21 #include "MeshAdapterTestCase.h"
22
23 #include <boost/scoped_ptr.hpp>
24
25 using namespace escript;
26 using namespace finley;
27 using namespace CppUnitTest;
28
29 void MeshAdapterTestCase::setUp() {
30 //
31 // This is called before each test is run
32
33 }
34
35 void MeshAdapterTestCase::tearDown() {
36 //
37 // This is called after each test has been run
38
39 }
40
41 void MeshAdapterTestCase::testAll() {
42 //
43 // test construction of a mesh using the brick factory method
44 boost::scoped_ptr<AbstractContinuousDomain> myMesh(brick());
45 }
46
47 TestSuite* MeshAdapterTestCase::suite ()
48 {
49 //
50 // create the suite of tests to perform.
51 TestSuite *testSuite = new TestSuite ("MeshAdapterTestCase");
52
53 testSuite->addTest (new TestCaller< MeshAdapterTestCase>("testAll",&MeshAdapterTestCase::testAll));
54 return testSuite;
55 }
56

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26