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

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

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

revision 2036 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 2037 by jfenwick, Thu Nov 13 06:17:12 2008 UTC
# Line 70  void TaipanTestCase::testN1() { Line 70  void TaipanTestCase::testN1() {
70    
71    // allocate all ten arrays    // allocate all ten arrays
72    // the number of arrays under management will increase with each allocation    // the number of arrays under management will increase with each allocation
73    arraY[10];  //  arraY[10];
74    for (int i=0; i<10; i++) {    for (int i=0; i<10; i++) {
75      arraY[i] = t.new_array(dim,1);      arraY[i] = t.new_array(dim,1);
76      assert(t.num_arrays() == i+1);      assert(t.num_arrays() == i+1);
# Line 254  void TaipanTestCase::testAll() { Line 254  void TaipanTestCase::testAll() {
254    
255    // allocate all ten arrays    // allocate all ten arrays
256    // the number of arrays under management will increase with each allocation    // the number of arrays under management will increase with each allocation
257    arraY[10];  //  arraY[10];
258    for (int i=0; i<10; i++) {    for (int i=0; i<10; i++) {
259      arraY[i] = t.new_array(dim,10);      arraY[i] = t.new_array(dim,10);
260      assert(t.num_arrays() == i+1);      assert(t.num_arrays() == i+1);

Legend:
Removed from v.2036  
changed lines
  Added in v.2037

  ViewVC Help
Powered by ViewVC 1.1.26