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

Annotation of /trunk/escript/test/DataAlgorithmAdapterTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 713 - (hide annotations)
Thu Apr 27 05:03:44 2006 UTC (13 years, 4 months ago) by gross
File MIME type: text/plain
File size: 1776 byte(s)
relative error tests have been introduced into a few more of the unit test.
1 jgs 102 // $Id$
2 jgs 82 /*
3     *****************************************************************************
4     * *
5     * COPYRIGHT ACcESS - All Rights Reserved *
6     * *
7     * This software is the property of ACcESS. No part of this code *
8     * may be copied in any form or by any means without the expressed written *
9     * consent of ACcESS. Copying, use or modification of this software *
10     * by any unauthorised person is illegal unless that person has a software *
11     * license agreement with ACcESS. *
12     * *
13     *****************************************************************************
14     */
15 jgs 102 #if !defined DataAlgorithmAdapterTestCase_20040715_H
16     #define DataAlgorithmAdapterTestCase_20040715_H
17 jgs 82
18 gross 700 #include "tools/CppUnitTest/TestCase.h"
19     #include "tools/CppUnitTest/TestSuite.h"
20     #include "tools/CppUnitTest/TestCaller.h"
21 jgs 82
22 gross 713 #define REL_TOL ((double)1.e-10)
23    
24 jgs 82 class DataAlgorithmAdapterTestCase : public CppUnitTest::TestCase
25     {
26     public:
27    
28     //
29     // setUp is called before each test method to set up test state
30     void setUp();
31     //
32     // tearDown is called after each test method is called.
33     void tearDown();
34    
35     //
36     // A test method must return void and have no arguments
37     // DataAlgorithmAdapter class
38     void testAll();
39 jgs 113 void testAlgorithm();
40     void testDpAlgorithm();
41 jgs 82
42     DataAlgorithmAdapterTestCase (std::string name) : TestCase (name) {}
43     ~DataAlgorithmAdapterTestCase() {}
44     //
45     //
46     // return the suite of tests to perform
47     //
48     static CppUnitTest::TestSuite* suite ();
49     };
50    
51     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26