/[escript]/trunk/escript/test/multi_arrayTestCase.cpp
ViewVC logotype

Diff of /trunk/escript/test/multi_arrayTestCase.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3596 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3597 by caltinay, Thu Sep 15 06:03:17 2011 UTC
# Line 12  Line 12 
12  *******************************************************/  *******************************************************/
13    
14    
 #include "boost/multi_array.hpp"  
15  #include "multi_arrayTestCase.h"  #include "multi_arrayTestCase.h"
16    
17    #include <boost/multi_array.hpp>
18    #include <cppunit/TestCaller.h>
19  #include <iostream>  #include <iostream>
20    
21  using namespace CppUnitTest;  using namespace CppUnit;
22  using namespace std;  using namespace std;
23    
 void multi_arrayTestCase::setUp() {  
   //  
   // This is called before each test is run  
   
 }  
24    
25  void multi_arrayTestCase::tearDown() {  void multi_arrayTestCase::testAll()
26    //  {
   // This is called after each test has been run  
   
 }  
   
 void multi_arrayTestCase::testAll() {  
27    //    //
28    // Test boost multi_array    // Test boost multi_array
29    typedef boost::multi_array<double, 3> ArrayType;    typedef boost::multi_array<double, 3> ArrayType;
# Line 60  void multi_arrayTestCase::testAll() { Line 51  void multi_arrayTestCase::testAll() {
51    
52  TestSuite* multi_arrayTestCase::suite ()  TestSuite* multi_arrayTestCase::suite ()
53  {  {
54    //    TestSuite *testSuite = new TestSuite("multi_arrayTestCase");
   // create the suite of tests to perform.  
   TestSuite *testSuite = new TestSuite ("multi_arrayTestCase");  
55    
56    testSuite->addTest (new TestCaller< multi_arrayTestCase>("testAll",&multi_arrayTestCase::testAll));    testSuite->addTest(new TestCaller<multi_arrayTestCase>(
57                  "testAll",&multi_arrayTestCase::testAll));
58    return testSuite;    return testSuite;
59  }  }
60    

Legend:
Removed from v.3596  
changed lines
  Added in v.3597

  ViewVC Help
Powered by ViewVC 1.1.26