def METHOD_NAME(self) -> None:
    cs = Checksum(algorithm="oops", hexdigest="dada")
    self.assertEqual("oops:dada", str(cs))
    self.assertEqual(cs, Checksum.from_string(str(cs)))
    for algo in ["sha1", "sha"]:
        h = Checksum(algo, "ignored").hasher()
        h.update(b"banana")
        self.assertEqual("250e77f12a5ab6972a0895d290c4792f0a326ea8", h.hexdigest())