Skip to content
Snippets Groups Projects
Commit 5a0dac10 authored by Padok's avatar Padok
Browse files
parents c5c2d6cb d254edff
No related branches found
No related tags found
1 merge request!21REQUIRE_THROWS_AS
......@@ -65,3 +65,7 @@ TEST_CASE( "Unrecognized characters are detected and exception is thrown", "[cal
REQUIRE_THROWS_AS( evaluate("11+3?4"), std::invalid_argument );
REQUIRE_THROWS_AS( evaluate("1F+"), std::invalid_argument );
}
TEST_CASE( "Only Numbers without operants are detected and exception is thrown", "[calc]") {
//REQUIRE_THROWS( evaluate("824892") );
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment