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
Branches
Tags
1 merge request!164Fix function with tuple type in codomain
......@@ -29,5 +29,13 @@ TEST_CASE("ConsoleManager", "[utils]")
REQUIRE(rang::rang_implementation::controlMode() == rang::control::Off);
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