def test_superior_brightness(self): old = Image.open("tests/image/walking_person.jpg") new = old.change_brightness(2) self.assertTrue(new.is_brighter_than(old))
def test_is_dark(self): img = Image.open("tests/image/walking_person.jpg") self.assertFalse(img.is_dark())