Home
last modified time | relevance | path

Searched refs:yMax (Results 1 – 2 of 2) sorted by relevance

/openbmc/intel-ipmi-oem/tests/
H A Dtest_sensorcommands.cpp104 void testBounds(double yMin, double yMax, bool bExpectedOutcome = true) in testBounds() argument
113 result = ipmi::getSensorAttributes(yMax, yMin, mValue, rExp, bValue, bExp, in testBounds()
126 yMin, yMax, mValue, (int)rExp, bValue, (int)bExp, (int)bSigned); in testBounds()
129 double y50p = (yMin + yMax) / 2.0; in testBounds()
133 double y75p = (y50p + yMax) / 2.0; in testBounds()
136 double yRange = yMax - yMin; in testBounds()
150 testValue(xMax, yMax, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds()
164 testValue(xMax, yMax, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds()
/openbmc/phosphor-host-ipmid/test/dbus-sdr/
H A Dsensorcommands_unittest.cpp105 void testBounds(double yMin, double yMax, bool bExpectedOutcome = true) in testBounds() argument
114 result = ipmi::getSensorAttributes(yMax, yMin, mValue, rExp, bValue, bExp, in testBounds()
127 yMin, yMax, mValue, (int)rExp, bValue, (int)bExp, (int)bSigned); in testBounds()
130 double y50p = (yMin + yMax) / 2.0; in testBounds()
134 double y75p = (y50p + yMax) / 2.0; in testBounds()
137 double yRange = yMax - yMin; in testBounds()
151 testValue(xMax, yMax, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds()
165 testValue(xMax, yMax, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds()