Permalink
Browse files

add missing preprocessor guards

  • Loading branch information...
gentryx committed Jun 27, 2018
1 parent 1ec30e7 commit 11ecd461a586d1fd1e25eca69c10786c6bbb024d
@@ -436,6 +436,7 @@ class DisplacedGridTest : public CxxTest::TestSuite
void testLoadSaveRegionWithBoostSerialization()
{
#ifdef LIBGEODECOMP_WITH_BOOST_SERIALIZATION
typedef DisplacedGrid<MyComplicatedCell1> GridType;
Coord<2> dim(30, 20);
@@ -498,6 +499,7 @@ class DisplacedGridTest : public CxxTest::TestSuite
for (Region<2>::Iterator i = region.begin(); i != region.end(); ++i) {
TS_ASSERT_EQUALS(sendGrid[*i + offset], recvGrid[*i + offset]);
}
#endif
}
};
@@ -549,6 +549,7 @@ class GridTest : public CxxTest::TestSuite
void testLoadSaveRegionWithBoostSerialization()
{
#ifdef LIBGEODECOMP_WITH_BOOST_SERIALIZATION
typedef Grid<MyComplicatedCell1> GridType;
Coord<2> dim(13, 10);
@@ -593,6 +594,7 @@ class GridTest : public CxxTest::TestSuite
for (Region<2>::Iterator i = region.begin(); i != region.end(); ++i) {
TS_ASSERT_EQUALS(sendGrid[*i + offset], recvGrid[*i + offset]);
}
#endif
}
void testCreationOfZeroSizedGrid()

0 comments on commit 11ecd46

Please sign in to comment.