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
Deal with pipes
[tools/medcoupling.git]
/
src
/
ParaMEDMEMTest
/
ParaMEDMEMTest_OverlapDEC.cxx
diff --git
a/src/ParaMEDMEMTest/ParaMEDMEMTest_OverlapDEC.cxx
b/src/ParaMEDMEMTest/ParaMEDMEMTest_OverlapDEC.cxx
index d01960c13fdccfacc7c8f3ca422ee5944aa562df..5969e2be045dd6abf0e4323310cbcc06d827cb73 100644
(file)
--- a/
src/ParaMEDMEMTest/ParaMEDMEMTest_OverlapDEC.cxx
+++ b/
src/ParaMEDMEMTest/ParaMEDMEMTest_OverlapDEC.cxx
@@
-590,7
+590,7
@@
void ParaMEDMEMTest::testOverlapDEC3()
MEDCouplingFieldDouble * resField = parafieldT->getField();
if(rank==0)
{
MEDCouplingFieldDouble * resField = parafieldT->getField();
if(rank==0)
{
- CPPUNIT_ASSERT_EQUAL(8, resField->getNumberOfTuples());
+ CPPUNIT_ASSERT_EQUAL(8,
(int)
resField->getNumberOfTuples());
for(int i=0;i<4;i++)
CPPUNIT_ASSERT_DOUBLES_EQUAL(1.0,resField->getArray()->getIJ(i,0),1e-12);
for(int i=4;i<8;i++)
for(int i=0;i<4;i++)
CPPUNIT_ASSERT_DOUBLES_EQUAL(1.0,resField->getArray()->getIJ(i,0),1e-12);
for(int i=4;i<8;i++)
@@
-598,7
+598,7
@@
void ParaMEDMEMTest::testOverlapDEC3()
}
if(rank==1)
{
}
if(rank==1)
{
- CPPUNIT_ASSERT_EQUAL(12, resField->getNumberOfTuples());
+ CPPUNIT_ASSERT_EQUAL(12,
(int)
resField->getNumberOfTuples());
for(int i=0;i<4;i++)
CPPUNIT_ASSERT_DOUBLES_EQUAL(2.0,resField->getArray()->getIJ(i,0),1e-12);
for(int i=4;i<8;i++)
for(int i=0;i<4;i++)
CPPUNIT_ASSERT_DOUBLES_EQUAL(2.0,resField->getArray()->getIJ(i,0),1e-12);
for(int i=4;i<8;i++)
@@
-660,7
+660,7
@@
void ParaMEDMEMTest::testOverlapDEC4()
MEDCouplingFieldDouble * resField = parafieldT->getField();
if(rank==0)
{
MEDCouplingFieldDouble * resField = parafieldT->getField();
if(rank==0)
{
- CPPUNIT_ASSERT_EQUAL(8, resField->getNumberOfTuples());
+ CPPUNIT_ASSERT_EQUAL(8,
(int)
resField->getNumberOfTuples());
for(int i=0;i<4;i++)
{
CPPUNIT_ASSERT_DOUBLES_EQUAL(1.0,resField->getArray()->getIJ(i*2,0),1e-12);
for(int i=0;i<4;i++)
{
CPPUNIT_ASSERT_DOUBLES_EQUAL(1.0,resField->getArray()->getIJ(i*2,0),1e-12);
@@
-674,7
+674,7
@@
void ParaMEDMEMTest::testOverlapDEC4()
}
if(rank==1)
{
}
if(rank==1)
{
- CPPUNIT_ASSERT_EQUAL(12, resField->getNumberOfTuples());
+ CPPUNIT_ASSERT_EQUAL(12,
(int)
resField->getNumberOfTuples());
for(int i=0;i<4;i++)
{
CPPUNIT_ASSERT_DOUBLES_EQUAL(2.0,resField->getArray()->getIJ(i*2,0),1e-12);
for(int i=0;i<4;i++)
{
CPPUNIT_ASSERT_DOUBLES_EQUAL(2.0,resField->getArray()->getIJ(i*2,0),1e-12);