Searched refs:TEST_EXPECTED_RANGE (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/numerics/ |
D | safe_numerics_unittest.cc | 331 #define TEST_EXPECTED_RANGE(expected, actual) \ macro 367 TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max()); in Test() 368 TEST_EXPECTED_RANGE(RANGE_VALID, static_cast<Src>(1)); in Test() 370 TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max() * static_cast<Src>(-1)); in Test() 371 TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::infinity()); in Test() 372 TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::infinity() * -1); in Test() 373 TEST_EXPECTED_RANGE(RANGE_INVALID, SrcLimits::quiet_NaN()); in Test() 375 TEST_EXPECTED_RANGE(RANGE_VALID, static_cast<Src>(-1)); in Test() 376 TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::min()); in Test() 397 TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::max()); in Test() [all …]
|
/external/libweave/third_party/chromium/base/numerics/ |
D | safe_numerics_unittest.cc | 327 #define TEST_EXPECTED_RANGE(expected, actual) \ macro 363 TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max()); in Test() 364 TEST_EXPECTED_RANGE(RANGE_VALID, static_cast<Src>(1)); in Test() 366 TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max() * static_cast<Src>(-1)); in Test() 367 TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::infinity()); in Test() 368 TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::infinity() * -1); in Test() 369 TEST_EXPECTED_RANGE(RANGE_INVALID, SrcLimits::quiet_NaN()); in Test() 371 TEST_EXPECTED_RANGE(RANGE_VALID, static_cast<Src>(-1)); in Test() 372 TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::min()); in Test() 393 TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::max()); in Test() [all …]
|