122 std::stringstream
ss;
149#ifdef HAVE_TEUCHOS_ARRAY_BOUNDSCHECK
163#ifdef HAVE_TEUCHOS_ARRAY_BOUNDSCHECK
#define TEST_ASSERT(v1)
Assert the given statement is true.
#define TEST_EQUALITY_CONST(v1, v2)
Assert the equality of v1 and constant v2.
#define TEST_EQUALITY(v1, v2)
Assert the equality of v1 and v2.
#define TEST_THROW(code, ExceptType)
Assert that the statement 'code' throws the exception 'ExceptType' (otherwise the test fails).
#define TEST_COMPARE_ARRAYS(a1, a2)
Assert that a1.size()==a2.size() and a[i]==b[i], i=0....
A thin wrapper around the Teuchos Array class that allows for 2 dimensional arrays.
#define TEUCHOS_UNIT_TEST(TEST_GROUP, TEST_NAME)
Macro for defining a (non-templated) unit test.
int size(const Comm< Ordinal > &comm)
Get the number of processes in the communicator.
Range error exception class.
Concrete serial communicator subclass.
A thin wrapper around the Array class which causes it to be interpreted as a 2D Array.
static TwoDArray< T > fromString(const std::string &string)
Converts a valid string to it's corresponding TwoDArray.
static std::string toString(const TwoDArray< T > array)
Converts a given TwoDArray to a valid string representation.
TwoDArray< int > getSimpleTestTwoDArray()