Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Better handling of test any
[simgrid.git] / src / mc / transition / TransitionAny.cpp
index 0f10bb1..a80a800 100644 (file)
@@ -31,9 +31,11 @@ TestAnyTransition::TestAnyTransition(aid_t issuer, int times_considered, std::st
 }
 std::string TestAnyTransition::to_string(bool verbose) const
 {
-  auto res = xbt::string_printf("TestAny");
-  for (auto const* t : transitions_)
+  auto res = xbt::string_printf("TestAny(%s){ ", this->result() ? "TRUE" : "FALSE");
+  for (auto const* t : transitions_) {
     res += t->to_string(verbose);
+    res += "; ";
+  }
   res += " }";
   return res;
 }