def METHOD_NAME(self):
    for t in self.get_compare_hash_cases():
        assert issubclass(self.TYPE, FileHasher)  # For typing
        a, b = t[:2]
        expect_match = t[2] if len(t) > 2 else True
        result = self.TYPE.compare_hash(a, b)
        assert result.match == expect_match, f"Case: {t}"
        if len(t) > 3:
            assert result.distance == t[3]