gem/openquake — pull request #617 by larsbutler (2011-12-21 17:43:02+00:00)
Title: Tests for the HazardCalculator hazard curve computation

This is the first pull request for this bug: https://bugs.launchpad.net/openquake/+bug/893142

This patch simply introduces some tests to directly exercise the functionality that will be refactored/optimized. The next patch will have the actual changes.

I'm separating this work into multiple branches so we can easily measure the performance before and after the proposed changes.

Note: The test data I have added to the helper class has been more or less copied from the `FloatingPoissonFaultSourceTest` in OpenSHA-lite: https://github.com/gem/OpenSHA/blob/master/java_tests/org/opensha/sha/earthquake/rupForecastImpl/FloatingPoissonFaultSourceTest.java