From bd2f396bac5785c4e126944281cad790238da523 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Mon, 23 Sep 2024 12:57:04 -0700 Subject: [PATCH] removed tests for helper functions(no longer needed, tested via behavior of calling function). --- tests/load/test_load.cpp | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/tests/load/test_load.cpp b/tests/load/test_load.cpp index 8f8cce7..18f2468 100644 --- a/tests/load/test_load.cpp +++ b/tests/load/test_load.cpp @@ -180,36 +180,3 @@ TEST(test_load, PortBHandlerDisabledAboveTarget) Load_HandleLoadPortB(adc_pin, load_pin); } - -TEST(test_load, HighThreshValid) -{ - bool result = is_valid_load(HIGHTHRESH); - CHECK_TRUE(!result); - - result = is_valid_load(HIGHTHRESH - 1); - CHECK_TRUE(result); -} - - -TEST(test_load, LowThreshValid) -{ - bool result = is_valid_load(LOWTHRESH); - CHECK_TRUE(!result); - - result = is_valid_load(LOWTHRESH + 1); - CHECK_TRUE(result); -} - - -TEST(test_load, BelowTargetValid) -{ - bool result = is_below_target(HYSTERESIS - 1); - CHECK_TRUE(result); - - result = is_below_target(HYSTERESIS); - CHECK_FALSE(result); - - result = is_below_target(HYSTERESIS + 1); - CHECK_FALSE(result); - -}