Commit c2863659 authored by Francis Dupont's avatar Francis Dupont

[962-implement-the-multi_threading_mgr-h-idea] Addressed comments

parent 41cca23f
......@@ -22,8 +22,7 @@ MultiThreadingMgr::instance() {
}
bool
MultiThreadingMgr::getMode() const
{
MultiThreadingMgr::getMode() const {
return (enabled_);
}
......
......@@ -17,7 +17,7 @@ TEST(MultiThreadingMgrTest, default) {
EXPECT_FALSE(MultiThreadingMgr::instance().getMode());
}
// Verifies that the instance can be dynamic cast and setter works.
// Verifies that the setter works.
TEST(MultiThreadingMgrTest, setMode) {
EXPECT_NO_THROW(MultiThreadingMgr::instance().setMode(true));
EXPECT_TRUE(MultiThreadingMgr::instance().getMode());
......
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