Template Function lsst::utils::assertHashesEqual

Function Documentation

template<typename T>
void lsst::utils::assertHashesEqual(T obj1, T obj2)

Test that equal objects have equal hashes.

If objects of type T can be equal despite having different internal representations, you should include pairs of such objects.

Template Parameters
  • T: A hashable type.

Parameters
  • obj1obj2: Two equal objects.