rename functions and attributes
This commit is contained in:
@@ -24,9 +24,9 @@ def test_shuffle_attrs(user_interface):
|
||||
- every attribute is adjacent to every other attribute with uniform distribution
|
||||
- the order in which the attributes move from key to key is random (i.e. the distance traveled is uniform)
|
||||
"""
|
||||
pre_shuffle_interface = user_interface.interface_index
|
||||
pre_shuffle_interface = user_interface.attr_indices
|
||||
user_interface.shuffle_interface()
|
||||
post_shuffle_interface = user_interface.interface_index
|
||||
post_shuffle_interface = user_interface.attr_indices
|
||||
for i in range(1000):
|
||||
assert (not all(
|
||||
post_shuffle_interface[idx] == pre_shuffle_interface[idx] for idx in range(len(post_shuffle_interface))
|
||||
|
||||
Reference in New Issue
Block a user