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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2085 - (hide annotations)
Mon Nov 24 00:45:48 2008 UTC (11 years, 2 months ago) by jfenwick
File MIME type: text/plain
File size: 1210 byte(s)
Added c++ unit tests for new operations.
Added resolve to some operations in Data

1 jfenwick 1926
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 DataLazyTestCase_H
16     #define DataLazyTestCase_H
17    
18     #include "tools/CppUnitTest/TestCase.h"
19     #include "tools/CppUnitTest/TestSuite.h"
20     #include "tools/CppUnitTest/TestCaller.h"
21    
22     class DataLazyTestCase : public CppUnitTest::TestCase
23     {
24     public:
25    
26     //
27     // setUp is called before each test method to set up test state
28     void setUp();
29     //
30     // tearDown is called after each test method is called.
31     void tearDown();
32    
33     //
34     // A test method must return void and have no arguments
35     void testLazy1();
36     void testLazy2();
37 jfenwick 2085 void testLazy2p();
38 jfenwick 1926 void testLazy3();
39 jfenwick 2085 void testLazy4();
40 jfenwick 1926 void testBuffers();
41    
42     DataLazyTestCase (std::string name) : TestCase (name) {}
43     ~DataLazyTestCase() {}
44     //
45     //
46     // return the suite of tests to perform
47     //
48     static CppUnitTest::TestSuite* suite ();
49     };
50    
51     #endif

  ViewVC Help
Powered by ViewVC 1.1.26