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

Annotation of /trunk/finley/test/FinleyDomainTestCase.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6939 - (hide annotations)
Mon Jan 20 03:37:18 2020 UTC (14 months, 3 weeks ago) by uqaeller
File size: 1328 byte(s)
Updated the copyright header.


1 jgs 82
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 uqaeller 6939 * Copyright (c) 2003-2020 by The University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8 jfenwick 6112 * Licensed under the Apache License, version 2.0
9     * http://www.apache.org/licenses/LICENSE-2.0
10 ksteube 1811 *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 jfenwick 4657 * Development 2012-2013 by School of Earth Sciences
13 uqaeller 6939 * Development from 2014-2017 by Centre for Geoscience Computing (GeoComp)
14     * Development from 2019 by School of Earth and Environmental Sciences
15     **
16 jfenwick 3981 *****************************************************************************/
17 ksteube 1312
18 caltinay 6001 #include <escript/AbstractContinuousDomain.h>
19 ksteube 1811
20 caltinay 6207 #include "FinleyDomainTestCase.h"
21 caltinay 3597
22 caltinay 6207 #include <finley/DomainFactory.h>
23 jgs 473
24 caltinay 3597 #include <cppunit/TestCaller.h>
25 jgs 82 #include <boost/scoped_ptr.hpp>
26    
27     using namespace escript;
28     using namespace finley;
29 caltinay 3597 using namespace CppUnit;
30 jgs 82
31 caltinay 6207 void FinleyDomainTestCase::testAll()
32 caltinay 3597 {
33 caltinay 6207 JMPI info = makeInfo(MPI_COMM_WORLD);
34     Domain_ptr dom(brick(info));
35     CPPUNIT_ASSERT(dom->getDim() == 3);
36 jgs 82 }
37    
38 caltinay 6207 TestSuite* FinleyDomainTestCase::suite()
39 jgs 82 {
40 caltinay 6207 TestSuite *testSuite = new TestSuite("FinleyDomainTestCase");
41 jgs 82
42 caltinay 6207 testSuite->addTest(new TestCaller<FinleyDomainTestCase>(
43     "testAll",&FinleyDomainTestCase::testAll));
44 caltinay 3597 return testSuite;
45 jgs 82 }
46    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26