Commit adae063a authored by Dominik Charousset's avatar Dominik Charousset

Relax overly strict test on node IDs

parent dfcbb117
...@@ -157,12 +157,11 @@ public: ...@@ -157,12 +157,11 @@ public:
nodes_[0].name = "Jupiter"; nodes_[0].name = "Jupiter";
nodes_[1].name = "Mars"; nodes_[1].name = "Mars";
CAF_REQUIRE_NOT_EQUAL(jupiter().connection, mars().connection); CAF_REQUIRE_NOT_EQUAL(jupiter().connection, mars().connection);
CAF_REQUIRE(!(jupiter().id == mars().id));
CAF_REQUIRE(jupiter().id != mars().id);
CAF_REQUIRE(jupiter().id < mars().id);
CAF_MESSAGE("Earth: " << to_string(this_node_)); CAF_MESSAGE("Earth: " << to_string(this_node_));
CAF_MESSAGE("Jupiter: " << to_string(jupiter().id)); CAF_MESSAGE("Jupiter: " << to_string(jupiter().id));
CAF_MESSAGE("Mars: " << to_string(mars().id)); CAF_MESSAGE("Mars: " << to_string(mars().id));
CAF_REQUIRE_NOT_EQUAL(this_node_, jupiter().id);
CAF_REQUIRE_NOT_EQUAL(jupiter().id, mars().id);
} }
~fixture() { ~fixture() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment