/[escript]/branches/clazy/finley/test/FinleyDomainTestCase.cpp
ViewVC logotype

Contents of /branches/clazy/finley/test/FinleyDomainTestCase.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6511 - (show annotations)
Fri Mar 3 01:41:39 2017 UTC (2 years ago) by jfenwick
File size: 1252 byte(s)
For some experiments

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26