Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/intltest/
Dunits_test.cpp184 const ConversionInfo expectedConversionInfo; in testConversionInfo() member
247 double maxDelta = 1e-6 * uprv_fabs(testCase.expectedConversionInfo.conversionRate); in testConversionInfo()
248 if (testCase.expectedConversionInfo.conversionRate == 0) { in testConversionInfo()
251 … assertEqualsNear(message + ", conversion rate: ", testCase.expectedConversionInfo.conversionRate, in testConversionInfo()
254 maxDelta = 1e-6 * uprv_fabs(testCase.expectedConversionInfo.offset); in testConversionInfo()
255 if (testCase.expectedConversionInfo.offset == 0) { in testConversionInfo()
258 …assertEqualsNear(message + ", offset: ", testCase.expectedConversionInfo.offset, actualConversionI… in testConversionInfo()
261 assertEquals(message + ", reciprocal: ", testCase.expectedConversionInfo.reciprocal, in testConversionInfo()