def test_shaah_zmanis_by_degrees_and_offset_with_both_degrees_and_offset_using_elevation(self): calendar = ZmanimCalendar(geo_location=test_helper.lakewood(), date=date(2017, 10, 17)) calendar.use_elevation = True self.assertEqual(int(calendar.shaah_zmanis_by_degrees_and_offset(6, 72)), 4314499)
def test_shaah_zmanis_by_degrees_and_offset_with_offset(self): calendar = ZmanimCalendar(geo_location=test_helper.lakewood(), date=date(2017, 10, 17)) self.assertEqual(int(calendar.shaah_zmanis_by_degrees_and_offset(0, 72)), 4040608)