Browse Source

Merge branch 'master' into deterministicScheds

tempestpy_adaptions
Tim Quatmann 5 years ago
parent
commit
4578e06555
  1. 8
      src/test/storm/transformer/EndComponentEliminatorTest.cpp

8
src/test/storm/transformer/EndComponentEliminatorTest.cpp

@ -94,8 +94,12 @@ TEST(NeutralECRemover, SimpleModelTest) {
for (uint64_t oldState = 0; oldState < expectedOldToNewStateMapping.size(); ++oldState) {
uint64_t expectedNewState = expectedOldToNewStateMapping[oldState];
uint64_t actualNewState = res.oldToNewStateMapping[oldState];
ASSERT_EQ(actualNewState < std::numeric_limits<uint_fast64_t>::max(), expectedNewState < std::numeric_limits<uint_fast64_t>::max()) << " Mapping does not match for oldState " << oldState;
actualToExpectedStateMapping[actualNewState] = expectedNewState;
if (actualNewState < std::numeric_limits<uint_fast64_t>::max()) {
ASSERT_LT(expectedNewState, std::numeric_limits<uint_fast64_t>::max()) << " Mapping does not match for oldState " << oldState;
actualToExpectedStateMapping[actualNewState] = expectedNewState;
} else {
ASSERT_LT(expectedNewState, actualNewState) << " Mapping does not match for oldState " << oldState;
}
}
std::vector<uint64_t> actualToExpectedRowMapping;
for (uint64_t actualRow = 0; actualRow < res.matrix.getRowCount(); ++actualRow) {

Loading…
Cancel
Save