Check volume calculation ids using sets in load_results.

This commit is contained in:
Patrick Shriwise 2020-10-03 13:06:46 -05:00
parent 869d7205a3
commit af6ab83af7

View file

@ -319,7 +319,7 @@ class VolumeCalculation:
results = type(self).from_hdf5(filename)
# Make sure properties match
assert self.ids == results.ids
assert set(self.ids) == set(results.ids)
assert np.all(self.lower_left == results.lower_left)
assert np.all(self.upper_right == results.upper_right)