def METHOD_NAME(self) -> None:
    pdq = PDQHasher()
    hamming_tolerance = 16
    for path, expected_hash in self.get_data():
        computed_hash = pdq.fromFile(path)
        expected_hash = Hash256.fromHexString(expected_hash)
        computed_hash = computed_hash.getHash()
        hamming_distance = computed_hash.hammingDistance(expected_hash)
        print(computed_hash, expected_hash, hamming_distance)
        self.assertLessEqual(hamming_distance, hamming_tolerance)