Skip to content
Snippets Groups Projects
Commit 28267509 authored by Niklas Hannekotte's avatar Niklas Hannekotte
Browse files

Merge branch 'master' into 'master'

testcase only numbers

See merge request !20
parents 514e226f 7453058a
No related branches found
No related tags found
1 merge request!20testcase only numbers
......@@ -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