def METHOD_NAME(self):
    pieces = [bchr(10) * 200, bchr(20) * 300]
    h = self.shake.new()
    h.update(pieces[0]).update(pieces[1])
    digest = h.read(10)
    h = self.shake.new()
    h.update(pieces[0] + pieces[1])
    self.assertEqual(h.read(10), digest)