Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Sep 12, 2024
1 parent b3e999d commit 1d4a333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_checksums.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ def test_crc64nvme_zeros_iterated(self):

def test_crc64nvme_values_one_shot(self):
output = checksums.crc64nvme(''.join(chr(i) for i in range(32)))
expected = 0xb8d8c0289a21bfff
expected = 0xb9d9d4a8492cbd7f
self.assertEqual(expected, output)

def test_crc64nvme_values_iterated(self):
output = 0
for i in range(32):
output = checksums.crc64nvme(chr(i), output)
expected = 0xb8d8c0289a21bfff
expected = 0xb9d9d4a8492cbd7f
self.assertEqual(expected, output)

def test_crc64nvme_large_buffer(self):
Expand Down

0 comments on commit 1d4a333

Please sign in to comment.