USPTO / PatentPublicData

Utility tools to help download and parse patent data made available to the public
Other
182 stars 80 forks source link

changed assert ordering from physical to sorted in CPC() in ClassificationNodeTest #78

Closed mustberuss closed 5 years ago

mustberuss commented 5 years ago

This PR fixes issue #77 where a maven build failed on the CPC() test in ClassificationNodeTest. The code's asserts were checking the cpcs in their physical order in the xml string. I moved them to check in alphabetic order since the underlying object cpcClazs is a SortedSet. After this change the test passes and the build was successful.