OSDN Git Service

DO NOT MERGE rangelib.py: Fix the bug in monotonic check.
authorTao Bao <tbao@google.com>
Thu, 27 Aug 2015 00:07:14 +0000 (17:07 -0700)
committerTao Bao <tbao@google.com>
Fri, 13 May 2016 22:21:26 +0000 (15:21 -0700)
commit16536a53a057778240b1a3a923b5dde31b79bd90
tree3609dd68af6609bdcdd97a21f32fc1023baa9c5a
parent8d1159755849ffcc1bd5c0de2821a4f5fe4ea58d
DO NOT MERGE rangelib.py: Fix the bug in monotonic check.

RangeSet("2-10").monotonic gives a wrong result of "False". Fix the bug
and add more tests into test_rangelib.py.

Bug: 28760775
Change-Id: I04780571b45ecafd34040f405756b9745a9e21a5
(cherry picked from commit e8f756137c39fc3292014f2eab5f84c6e5135797)
tools/releasetools/rangelib.py