• Malay Keshav's avatar
    Add check for the precision of display zoom value · 0f9bdf49
    Malay Keshav authored
    Display preferences for chrome OS stores the display zoom value only
    upto a precision of 2 decimal point.
    
    This patch adds a check of precision to ensure that in the future if
    any changes are made to the way display zoom values are generated then
    those changes keep in mind this precision that is used by display prefs.
    
    Bug: 823922
    Change-Id: I8370415041bcaeac55c4afef9a4e4125979559b4
    Component: Display Util Test
    Reviewed-on: https://chromium-review.googlesource.com/974264Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
    Commit-Queue: Malay Keshav <malaykeshav@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#544897}
    0f9bdf49
display_utils_unittest.cc 5.15 KB