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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6812 - (show annotations)
Fri May 3 00:36:47 2019 UTC (7 months ago) by aellery
File MIME type: text/plain
File size: 1237 byte(s)
Another silo fix


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

  ViewVC Help
Powered by ViewVC 1.1.26