removed tests for helper functions(no longer needed, tested via behavior of calling function).

This commit is contained in:
jakeg00dwin 2024-09-23 12:57:04 -07:00
parent 7ca25f5177
commit bd2f396bac
1 changed files with 0 additions and 33 deletions

View File

@ -180,36 +180,3 @@ TEST(test_load, PortBHandlerDisabledAboveTarget)
Load_HandleLoadPortB(adc_pin, load_pin); 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);
}