rename functions and attributes

This commit is contained in:
2024-07-17 08:59:59 -05:00
parent c4d8233730
commit c907f159ab
9 changed files with 42 additions and 40 deletions

View File

@@ -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))