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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3597 - (show annotations)
Thu Sep 15 06:03:17 2011 UTC (8 years, 2 months ago) by caltinay
File MIME type: text/plain
File size: 919 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 DataMathsTestCase_20080828_H
16 #define DataMathsTestCase_20080828_H
17
18 #include <cppunit/TestFixture.h>
19 #include <cppunit/TestSuite.h>
20
21 #define REL_TOL ((double)1.e-10)
22
23 class DataMathsTestCase : public CppUnit::TestFixture
24 {
25 public:
26
27 void testAll();
28 void testShapeToString();
29 void testScalarView();
30 void testResultSliceShape();
31 void testSlicing();
32 void testMatMult();
33 void testUnaryOp();
34 void testBinaryOp();
35 void testReductionOp();
36
37 static CppUnit::TestSuite* suite();
38 };
39
40 #endif
41

  ViewVC Help
Powered by ViewVC 1.1.26