Lines Matching refs:assertEqual

24     self.assertEqual(RangeSet("10-19 30-34").union(RangeSet("18-29")),
26 self.assertEqual(RangeSet("10-19 30-34").union(RangeSet("22 32")),
30 self.assertEqual(RangeSet("10-19 30-34").intersect(RangeSet("18-32")),
32 self.assertEqual(RangeSet("10-19 30-34").intersect(RangeSet("22-28")),
36 self.assertEqual(RangeSet("10-19 30-34").subtract(RangeSet("18-32")),
38 self.assertEqual(RangeSet("10-19 30-34").subtract(RangeSet("22-28")),
46 self.assertEqual(RangeSet("10-19 30-34").size(), 15)
47 self.assertEqual(RangeSet("").size(), 0)
50 self.assertEqual(RangeSet("0-9").map_within(RangeSet("3-4")),
52 self.assertEqual(RangeSet("10-19").map_within(RangeSet("13-14")),
54 self.assertEqual(
57 self.assertEqual(
62 self.assertEqual(RangeSet("0-9").first(1), RangeSet("0"))
63 self.assertEqual(RangeSet("10-19").first(5), RangeSet("10-14"))
64 self.assertEqual(RangeSet("10-19").first(15), RangeSet("10-19"))
65 self.assertEqual(RangeSet("10-19 30-39").first(3), RangeSet("10-12"))
66 self.assertEqual(RangeSet("10-19 30-39").first(15),
68 self.assertEqual(RangeSet("10-19 30-39").first(30),
70 self.assertEqual(RangeSet("0-9").first(0), RangeSet(""))
73 self.assertEqual(RangeSet("0-9").extend(1), RangeSet("0-10"))
74 self.assertEqual(RangeSet("10-19").extend(15), RangeSet("0-34"))
75 self.assertEqual(RangeSet("10-19 30-39").extend(4), RangeSet("6-23 26-43"))
76 self.assertEqual(RangeSet("10-19 30-39").extend(10), RangeSet("0-49"))
100 self.assertEqual(str(RangeSet("0-9")), "0-9")
101 self.assertEqual(str(RangeSet("2-10 12")), "2-10 12")
102 self.assertEqual(str(RangeSet("11 2-10 12 1 0")), "0-12")
103 self.assertEqual(str(RangeSet("")), "empty")
106 self.assertEqual(RangeSet("0-9").to_string_raw(), "2,0,10")
107 self.assertEqual(RangeSet("2-10 12").to_string_raw(), "4,2,11,12,13")
108 self.assertEqual(RangeSet("11 2-10 12 1 0").to_string_raw(), "2,0,13")
129 self.assertEqual(
132 self.assertEqual(
135 self.assertEqual(
143 self.assertEqual(
146 self.assertEqual(
149 self.assertEqual(