54 out <<
"Pass on even procs but fail on other procs!\n";
56 const int procRank = comm->getRank();
62 out <<
"Pass on even procs but throws Teuchos exception on other processes!\n";
64 const int procRank = comm->getRank();
72 out <<
"Pass on even procs but throws int exception on other processes!\n";
74 const int procRank = comm->getRank();
75 if (procRank%2 != 0) {
static Teuchos::RCP< const Comm< OrdinalType > > getComm()
Return the default global communicator.
TEUCHOS_UNIT_TEST(ConstNonconstObjectContainer, create)
Templated Parameter List class.
#define TEST_EQUALITY_CONST(v1, v2)
Assert the equality of v1 and constant v2.
Additional ParameterList XML helper functions including parallel support.
Smart reference counting pointer class for automatic garbage collection.
#define TEUCHOS_ASSERT_EQUALITY(val1, val2)
This macro is checks that to numbers are equal and if not then throws an exception with a good error ...