Skip to content

Commit

Permalink
Additional setitem testcase.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Nov 13, 2017
1 parent e5ad484 commit 80756b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_bincopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,9 @@ def test_set_get_item(self):
binfile[:] = b'\x01\x02\x03\x04\x05'
self.assertEqual(binfile[:], b'\x01\x02\x03\x04\x05')

binfile[0] = b'\x00'
self.assertEqual(binfile[:], b'\x00\x01\x02\x03\x04\x05')

def test_performance(self):
binfile = bincopy.BinFile()

Expand Down

0 comments on commit 80756b2

Please sign in to comment.