22 out <<
"Pass on even procs but fail on other procs!\n";
24 const int procRank = comm->getRank();
30 out <<
"Pass on even procs but throws Teuchos exception on other processes!\n";
32 const int procRank = comm->getRank();
40 out <<
"Pass on even procs but throws int exception on other processes!\n";
42 const int procRank = comm->getRank();
43 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 ...