Skip to content

Commit

Permalink
Add test with VoltageLevel::getConnectableCount
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien LAIGRE <slaigre@silicom.fr>
  • Loading branch information
sebalaig committed Jul 29, 2020
1 parent 15a0fcc commit 03133fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/iidm/VoltageLevelTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ BOOST_AUTO_TEST_CASE(getConnectablesCheckUnique) {
const Network network = createLineTestNetwork2();
const VoltageLevel& vl = network.getVoltageLevel("VL1");
BOOST_CHECK_EQUAL(1UL, boost::size(vl.getConnectables<Line>()));
BOOST_CHECK_EQUAL(1UL, vl.getConnectableCount<Line>());
}

BOOST_AUTO_TEST_SUITE_END()
Expand Down

0 comments on commit 03133fd

Please sign in to comment.