Salome HOME
projects
/
tools
/
medcoupling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt for C++17
[tools/medcoupling.git]
/
src
/
ParaMEDMEMTest
/
ParaMEDMEMTest_MPIProcessorGroup.cxx
diff --git
a/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx
b/src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx
index 3c6fc3b257ce4d10866109aa845099ec14a6e64e..87a8b432b05a8e2e510eb0b75eafe6128bf73ad1 100644
(file)
--- a/
src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx
+++ b/
src/ParaMEDMEMTest/ParaMEDMEMTest_MPIProcessorGroup.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
15
CEA/DEN, EDF R&D
+// Copyright (C) 2007-20
20
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-34,7
+34,7
@@
using namespace std;
using namespace std;
-using namespace
ParaMEDMEM
;
+using namespace
MEDCoupling
;
/*
* Check methods defined in MPPIProcessorGroup.hxx
/*
* Check methods defined in MPPIProcessorGroup.hxx
@@
-58,11
+58,9
@@
using namespace ParaMEDMEM;
void ParaMEDMEMTest::testMPIProcessorGroup_constructor()
{
CommInterface comm_interface;
void ParaMEDMEMTest::testMPIProcessorGroup_constructor()
{
CommInterface comm_interface;
- MPIProcessorGroup* group;
+ MPIProcessorGroup* group
= new MPIProcessorGroup(comm_interface);
;
int size;
MPI_Comm_size(MPI_COMM_WORLD, &size);
int size;
MPI_Comm_size(MPI_COMM_WORLD, &size);
-
- group= new MPIProcessorGroup(comm_interface);
CPPUNIT_ASSERT_EQUAL(size,group->size());
int size2;
const MPI_Comm* communicator=group->getComm();
CPPUNIT_ASSERT_EQUAL(size,group->size());
int size2;
const MPI_Comm* communicator=group->getComm();