compare_sets#
- caf.toolkit.toolbox.compare_sets(set_a, set_b)[source]#
Check whether set_a and set_b are the same.
Checks for items that are in set_a, and not set_b. Checks for items that are in set_b and not set_a. If both above checks are empty, then sets must be equal.
- Parameters:
- Returns:
equal – True if set_a and set_b are equal, otherwise False.
a_not_in_b – A set of items that are in set_a, but not in set_b.
b_not_in_a – A set of items that are in set_b, but not in set_a.
- Return type: