Add operator== and operator!= to each of the classes GeoDataSimpleArrayData, GeoDataData and GeoDataExtendedData. Extend tests/TestEquality by a new unit test method for each of the classes which verifies the implementation for several instances of each class. Make sure to compile Marble with the BUILD_MARBLE_TESTS=TRUE option enabled and run the test case from the build folder (run tests/TestEquality). Note that operator!= should call operator==, see GeoDataAccuracy for an example. Submit a review request at https://git.reviewboard.kde.org Please leave a comment here (e.g. "I want to work on this task.") if you start working on this task to avoid multiple people working on it at the same time.
I will work on this task too, if you're ok with that.
Let's give others a chance to grab it as well :-) Feel free to claim it when you're done with other tasks though.
I want to work on this task
Git commit d7899fef51a81b98d8284c99783a2e5e552eb8b9 by Dennis Nienhüser, on behalf of Sanjiban Bairagya. Committed on 26/02/2014 at 18:50. Pushed by nienhueser into branch 'master'. equality operators for GDSimpleArrayData, GDData and GDExtendedData REVIEW: 116084 M +10 -0 src/lib/marble/geodata/data/GeoDataData.cpp M +2 -0 src/lib/marble/geodata/data/GeoDataData.h M +10 -0 src/lib/marble/geodata/data/GeoDataExtendedData.cpp M +3 -0 src/lib/marble/geodata/data/GeoDataExtendedData.h M +10 -0 src/lib/marble/geodata/data/GeoDataSimpleArrayData.cpp M +2 -0 src/lib/marble/geodata/data/GeoDataSimpleArrayData.h M +65 -0 tests/TestEquality.cpp http://commits.kde.org/marble/d7899fef51a81b98d8284c99783a2e5e552eb8b9