63 TEST_INCLUDE_PATH(
"../../src/app/application/plausibility")
64 TEST_INCLUDE_PATH("../../src/app/driver/foxmath")
65 TEST_INCLUDE_PATH("../../src/app/engine/
diag")
66 TEST_INCLUDE_PATH("../../src/app/task/config")
80 int32_t packVoltage_mV = 0;
81 int32_t highVoltage_mV = 0;
86 int32_t packVoltage_mV = INT32_MAX;
87 int32_t highVoltage_mV = INT32_MAX;
92 int32_t packVoltage_mV = 0;
98 int32_t packVoltage_mV = 0;
104 int32_t packVoltage_mV = 0;
110 int32_t packVoltage_mV = 4242;
111 int32_t highVoltage_mV = 4242;
116 int32_t packVoltage_mV = 0;
117 int32_t highVoltage_mV = INT32_MAX;
123 int32_t highVoltage_mV = INT32_MAX;
129 int32_t highVoltage_mV = INT32_MAX;
134 int32_t packVoltage_mV = INT32_MAX;
135 int32_t highVoltage_mV = INT32_MAX;
static DIAG_DIAGNOSIS_STATE_s diag
STD_RETURN_TYPE_e PL_CheckStringVoltage(int32_t voltageAfe_mV, int32_t voltageCurrentSensor_mV)
Pack voltage plausibility check between LTC and current sensor values.
plausibility checks for cell voltage and cell temperatures
#define PL_STRING_VOLTAGE_TOLERANCE_mV
Maximum difference between pack voltage measurement from AFE and current sensor.
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceEqualsToleranceMinusOne(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceEqualValue(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceEqualsTolerance(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceINT32MaxPlusTooMuch(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceINT32Max(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceINT32MaxMinus(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceINT32MaxPlus(void)
void testCheckPackVoltagecellVoltageandcurrentSensorBothMaximum(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceEqualsTolerancePlusOne(void)
void testCheckPackVoltagecellVoltageandcurrentSensorBothZero(void)