refactor use numpy in user_cipher.py
This commit is contained in:
@@ -22,7 +22,7 @@ def test_shuffle_attrs(user_keypad):
|
||||
expected statistical outcomes like:
|
||||
- every attribute gets to every key with a uniform distribution
|
||||
- every attribute is adjacent to every other attribute with uniform distribution
|
||||
- the order in which the customer_cipher move from key to key is random (i.e. the distance traveled is uniform)
|
||||
- the order in which the cipher move from key to key is random (i.e. the distance traveled is uniform)
|
||||
"""
|
||||
pre_shuffle_keypad = user_keypad.keypad
|
||||
user_keypad.partial_keypad_shuffle()
|
||||
|
||||
Reference in New Issue
Block a user