DynamoDS/Dynamo — pull request #3320 by Randy-Ma (2014-12-01 05:59:54+00:00)
Title: Fix failing test cases related to sun settings

Summary

There are four test cases in SunSettingsTests which are failing:
1). Current: this test case is failing because we need to compare the IDs instead of the two objects.
2). Direction: the precision is not taken into consideration and so it is failing.
3). Altitude: the altitude in comparison is different from what is implemented in Dynamo.
4). Azimuth: the azimuth in comparison is different from what is implemented in Dynamo.

The fix here for item 1 is to compare the IDs. For the other three, the value will be obtained beforhand and used for comparison.

@ikeough
PTAL