Generated on Thu Apr 11 13:59:24 2019 for Gecode by doxygen 1.6.3

array.cpp File Reference

#include <gecode/kernel.hh>
#include <gecode/int.hh>
#include "test/test.hh"

Go to the source code of this file.

Classes

class  Test::Array::Iterator
 Base class for testing iterators More...
class  Test::Array::TestSpace
 Test space. More...
class  Test::Array::VarArrayIterator
 Class for testing the VarArray iterator More...
class  Test::Array::VarArgsIterator
 Class for testing the VarArgs iterator More...
class  Test::Array::ViewArrayIterator
 Class for testing the ViewArray iterator More...
class  Test::Array::SharedArrayIterator
 Class for testing the SharedArray iterator More...

Namespaces

namespace  Test
 

General test support.


namespace  Test::Array
 

Tests for arrays.


Defines

#define CHECK_TEST(T, M)
 Check the test result and handle failed test.
#define START_TEST(T)
 Start new test.

Variables

Test::Array::VarArrayIterator Test::Array::varArrayIteratorTest
 Class for testing the VarArray iterator
Test::Array::VarArgsIterator Test::Array::varArgsIteratorTest
 Class for testing the VarArgs iterator
Test::Array::ViewArrayIterator Test::Array::viewArrayIteratorTest
 Class for testing the ViewArray iterator
Test::Array::SharedArrayIterator Test::Array::sharedArrayIteratorTest
 Class for testing the SharedArray iterator

Define Documentation

#define CHECK_TEST ( T,
 ) 
Value:
if (opt.log)                                                    \
  olog << ind(3) << "Check: " << (M) << std::endl;              \
if (!(T)) {                                                     \
  problem = (M); goto failed;                         \
}

Check the test result and handle failed test.

Definition at line 40 of file array.cpp.

#define START_TEST (  ) 
Value:
if (opt.log) {                                                \
     olog.str("");                                              \
     olog << ind(2) << "Testing: " << (T) << std::endl;         \
  }                                                             \
  test = (T);

Start new test.

Definition at line 48 of file array.cpp.