Home
last modified time | relevance | path

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

/openbmc/pldm/host-bmc/test/
H A Ddbus_to_terminus_effecter_test.cpp133 auto realVal = hostEffecterParser.adjustValue(200, -50, 0.5, -2); in TEST() local
134 ASSERT_EQ(realVal, 12500); in TEST()
135 realVal = hostEffecterParser.adjustValue(0, -50, 1, 0); in TEST()
136 ASSERT_EQ(realVal, 50); in TEST()
137 realVal = hostEffecterParser.adjustValue(0, 100, 1, -1); in TEST()
138 ASSERT_EQ(realVal, -1000); in TEST()
139 realVal = hostEffecterParser.adjustValue(2.34, 0, 1, -1); in TEST()
140 ASSERT_EQ(realVal, 23); in TEST()
141 realVal = hostEffecterParser.adjustValue(2.35, 0, 1, -1); in TEST()
142 ASSERT_EQ(realVal, 24); in TEST()