Searched refs:expected_color (Results 1 – 1 of 1) sorted by relevance
15 def IsEqual(self, expected_color, tolerance=0): argument18 r_diff = abs(self.r - expected_color.r)19 g_diff = abs(self.g - expected_color.g)20 b_diff = abs(self.b - expected_color.b)21 a_diff = abs(self.a - expected_color.a)