Skip to content
Snippets Groups Projects
Commit 48d91f23 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add missing test for ConsoleManager

parent f1a08643
No related branches found
No related tags found
1 merge request!164Fix function with tuple type in codomain
...@@ -29,5 +29,13 @@ TEST_CASE("ConsoleManager", "[utils]") ...@@ -29,5 +29,13 @@ TEST_CASE("ConsoleManager", "[utils]")
REQUIRE(rang::rang_implementation::controlMode() == rang::control::Off); REQUIRE(rang::rang_implementation::controlMode() == rang::control::Off);
rang::setControlMode(saved_control); rang::setControlMode(saved_control);
const bool show_preamble = ConsoleManager::showPreamble();
ConsoleManager::setShowPreamble(not show_preamble);
REQUIRE(show_preamble != ConsoleManager::showPreamble());
ConsoleManager::setShowPreamble(show_preamble);
REQUIRE(show_preamble == ConsoleManager::showPreamble());
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment