Added test for calling uncheckRadioButtons function

0.8
Bruno Van de Velde 2015-11-25 19:25:44 +01:00
parent 4affb519e7
commit ed00dfc166
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,11 @@ TEST_CASE("[RadioButton]") {
REQUIRE(!radioButton1->isChecked());
REQUIRE(radioButton2->isChecked());
REQUIRE(radioButton3->isChecked());
parent1->uncheckRadioButtons();
REQUIRE(!radioButton1->isChecked());
REQUIRE(!radioButton2->isChecked());
REQUIRE(radioButton3->isChecked());
}
SECTION("Text") {