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 b10d0a3 commit 317d7c7
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 = 0x46DD794E
expected = 0x7fffffffffffffff
self.assertEqual(expected, output)

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

def test_crc64nvme_large_buffer(self):
Expand Down

0 comments on commit 317d7c7

Please sign in to comment.