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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (10 years, 11 months ago) by ksteube
File MIME type: text/plain
File size: 1410 byte(s)
Copyright updated in all files

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 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 DataTypesTestCase_20080827_H
16 #define DataTypesTestCase_20080827_H
17
18 #include "tools/CppUnitTest/TestCase.h"
19 #include "tools/CppUnitTest/TestSuite.h"
20 #include "tools/CppUnitTest/TestCaller.h"
21
22
23 #define REL_TOL ((double)1.e-10)
24
25 class DataTypesTestCase : public CppUnitTest::TestCase
26 {
27 public:
28
29 //
30 // setUp is called before each test method to set up test state
31 void setUp();
32 //
33 // tearDown is called after each test method is called.
34 void tearDown();
35
36 //
37 // A test method must return void and have no arguments
38 // DataArrayView class
39 void testAll();
40 void testShapeToString();
41 void testScalarView();
42 void testResultSliceShape();
43 void testSlicing();
44 void testMatMult();
45 void testUnaryOp();
46 void testBinaryOp();
47 void testReductionOp();
48 void testShapeFns();
49
50 DataTypesTestCase (std::string name) : TestCase (name) {}
51 ~DataTypesTestCase() {}
52 //
53 //
54 // return the suite of tests to perform
55 //
56 static CppUnitTest::TestSuite* suite ();
57 };
58
59 #endif

  ViewVC Help
Powered by ViewVC 1.1.26