X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7e3b05ded0a19bb89fe08b78d52c6bec0ae93d29..61a8bb9423361cde6dfc57a00815e5fc99320ca4:/src/mc/explo/udpor/Configuration_test.cpp?ds=sidebyside diff --git a/src/mc/explo/udpor/Configuration_test.cpp b/src/mc/explo/udpor/Configuration_test.cpp index bf12e98765..f9d025ea83 100644 --- a/src/mc/explo/udpor/Configuration_test.cpp +++ b/src/mc/explo/udpor/Configuration_test.cpp @@ -24,7 +24,8 @@ TEST_CASE("simgrid::mc::udpor::Configuration: Constructing Configurations") UnfoldingEvent e1; UnfoldingEvent e2{&e1}; UnfoldingEvent e3{&e2}; - UnfoldingEvent e4{&e3}, e5{&e3}; + UnfoldingEvent e4{&e3}; + UnfoldingEvent e5{&e3}; SECTION("Creating a configuration without events") { @@ -191,8 +192,9 @@ TEST_CASE("simgrid::mc::udpor::Configuration: Topological Sort Order More Compli UnfoldingEvent e1; UnfoldingEvent e2{&e1}; UnfoldingEvent e3{&e2}; - UnfoldingEvent e4{&e3}, e6{&e3}; + UnfoldingEvent e4{&e3}; UnfoldingEvent e5{&e4}; + UnfoldingEvent e6{&e3}; SECTION("Topological ordering for subsets") { @@ -293,26 +295,28 @@ TEST_CASE("simgrid::mc::udpor::Configuration: Topological Sort Order Very Compli // / / / // [ e12 ] UnfoldingEvent e1; - UnfoldingEvent e2{&e1}, e8{&e1}; + UnfoldingEvent e2{&e1}; + UnfoldingEvent e8{&e1}; UnfoldingEvent e3{&e2}; UnfoldingEvent e4{&e3}; - UnfoldingEvent e5{&e4}, e6{&e4}; - UnfoldingEvent e7{&e2, &e8}, e11{&e8}; - UnfoldingEvent e10{&e7}, e9{&e6, &e7}; + UnfoldingEvent e5{&e4}; + UnfoldingEvent e6{&e4}; + UnfoldingEvent e7{&e2, &e8}; + UnfoldingEvent e9{&e6, &e7}; + UnfoldingEvent e10{&e7}; + UnfoldingEvent e11{&e8}; UnfoldingEvent e12{&e5, &e9, &e10}; + Configuration C{&e1, &e2, &e3, &e4, &e5, &e6, &e7, &e8, &e9, &e10, &e11, &e12}; SECTION("Test every combination of the maximal configuration (forward graph)") { // To test this, we ensure that for the `i`th event // in `ordered_events`, each event in `ordered_events[0...