removed tests for helper functions(no longer needed, tested via behavior of calling function).
This commit is contained in:
parent
7ca25f5177
commit
bd2f396bac
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue