How would you create a test function to compare the contents of two objects of the same class?
Background: I have a function which extracts data from a CSV file and uses that data to create an object. I want to know if this function is generating the correct output.