Skip to content

Commit

Permalink
Should not compile without pugixml (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
JensWehner authored Apr 15, 2021
1 parent 9bd1136 commit 8fa5119
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/units/ecp/ecpbasis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <iostream>

using namespace libecpint;

#ifdef HAS_PUGIXML

class ECPBasisTest : public testing::Test {
protected:
Expand All @@ -30,4 +30,6 @@ TEST_F(ECPBasisTest, AddFromFile) {
EXPECT_EQ(basis.getMaxL(), 3);
EXPECT_EQ(basis.getN(), 2);
EXPECT_EQ(basis.getECPCore(33), 28);
}
}

#endif

0 comments on commit 8fa5119

Please sign in to comment.