/[escript]/trunk/escript/test/DataTestCase.h
ViewVC logotype

Contents of /trunk/escript/test/DataTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3597 - (show annotations)
Thu Sep 15 06:03:17 2011 UTC (7 years, 7 months ago) by caltinay
File MIME type: text/plain
File size: 1116 byte(s)
Switching to external cppunit:
-removed tools/CppUnitTest
-updated scons script and files
-updated tests to changed API
-updated readme

Bumped scons options file version to 201. Additions:
-cppunit*
-boomeramg*
-vsl_random


1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 #if !defined DataTestCase_20040624_H
16 #define DataTestCase_20040624_H
17
18 #include <cppunit/TestFixture.h>
19 #include <cppunit/TestSuite.h>
20
21 #define REL_TOL ((double)1.e-10)
22
23 class DataTestCase : public CppUnit::TestFixture
24 {
25 public:
26
27 void testSome();
28 void testConstructors();
29 void testDataConstant();
30 void testDataTagged();
31 void testDataTaggedExceptions();
32 void testSlicing();
33 void testOperations();
34 void testMoreOperations();
35 void testMemAlloc();
36 void testCopying();
37 void testResolveType();
38 void testBinary();
39
40 static CppUnit::TestSuite* suite();
41
42 private:
43 void testCopyingWorker(bool delayed);
44 void testSlicingWorker(bool delayed);
45 void testSomeDriver(bool autolazy);
46 };
47
48 #endif
49

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26