Skip to content
Snippets Groups Projects
Commit e88eb71f authored by Lisa's avatar Lisa
Browse files

sqrt test

parent 34f12ab1
No related branches found
No related tags found
1 merge request!5Fix missing operands
......@@ -32,3 +32,8 @@ TEST_CASE( "Test modulo function", "[calc]") {
REQUIRE( evaluate("32%") == 1 );
REQUIRE( evaluate("51%") == 4 );
}
TEST_CASE("Test sqrt function", "[calc]") {
REQUIRE( evaluate("9sqrt") == 3 );
}
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