Lines Matching refs:monotonic
114 self.assertTrue(RangeSet("0-9").monotonic)
115 self.assertTrue(RangeSet("2-9").monotonic)
116 self.assertTrue(RangeSet("2-9 30 31 35").monotonic)
117 self.assertTrue(RangeSet("").monotonic)
118 self.assertTrue(RangeSet("0-4 5-9").monotonic)
119 self.assertFalse(RangeSet("5-9 0-4").monotonic)
120 self.assertFalse(RangeSet("258768-259211 196604").monotonic)
122 self.assertTrue(RangeSet(data=[0, 10]).monotonic)
123 self.assertTrue(RangeSet(data=[0, 10, 15, 20]).monotonic)
124 self.assertTrue(RangeSet(data=[2, 9, 30, 31, 31, 32, 35, 36]).monotonic)
125 self.assertTrue(RangeSet(data=[0, 5, 5, 10]).monotonic)
126 self.assertFalse(RangeSet(data=[5, 10, 0, 5]).monotonic)