Skip to content
Snippets Groups Projects
Commit 0aa7a30b authored by elenziat's avatar elenziat
Browse files

add test case to check if argument y is used

parent 8443eadb
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ extern "C" { ...@@ -6,6 +6,7 @@ extern "C" {
TEST_CASE("PI_Regler") { TEST_CASE("PI_Regler") {
REQUIRE(controller(8, 0, 500) == 16); REQUIRE(controller(8, 0, 500) == 16);
REQUIRE(controller(-2, 0, 500) == -4); REQUIRE(controller(-2, 0, 500) == -4);
REQUIRE(controller(0, 2, 500) == -4);
} }
TEST_CASE("limits") { TEST_CASE("limits") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment