/[escript]/trunk/weipa/test/EscriptDatasetTestCase.h
ViewVC logotype

Contents of /trunk/weipa/test/EscriptDatasetTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6939 - (show annotations)
Mon Jan 20 03:37:18 2020 UTC (22 months, 2 weeks ago) by uqaeller
File MIME type: text/plain
File size: 1313 byte(s)
Updated the copyright header.


1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2020 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-2017 by Centre for Geoscience Computing (GeoComp)
14 * Development from 2019 by School of Earth and Environmental Sciences
15 **
16 *****************************************************************************/
17
18
19 #ifndef _ESCRIPTDATASETTESTCASE_H_
20 #define _ESCRIPTDATASETTESTCASE_H_
21
22 #include <escript/AbstractDomain.h>
23
24 #include <cppunit/TestFixture.h>
25 #include <cppunit/TestSuite.h>
26
27 class EscriptDatasetTestCase : public CppUnit::TestFixture
28 {
29 public:
30 void testBase();
31 #if USE_DUDLEY
32 void testDudley();
33 #endif
34 #if USE_FINLEY
35 void testFinley();
36 #endif
37 #if USE_RIPLEY
38 void testRipley();
39 #endif
40 #if USE_SPECKLEY
41 void testSpeckley();
42 #endif
43
44 static CppUnit::TestSuite* suite();
45
46 private:
47 void runDomainTests(escript::Domain_ptr dom);
48 void checkVTKfile(std::string filename);
49 int getDataArrayLength(std::istream& is);
50 };
51
52 #endif
53

  ViewVC Help
Powered by ViewVC 1.1.26