From 7afa7458c7b5303e7fccc0f87d78d3fef88ccc0b Mon Sep 17 00:00:00 2001 From: Colin Dawson Date: Thu, 10 Nov 2022 18:05:39 +0000 Subject: [PATCH] Added comments for unit testing --- Meade.net.Telescope/Telescope.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index 3850792..81dcdfb 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -3431,7 +3431,7 @@ namespace ASCOM.Meade.net } catch (InvalidOperationException) { - dms = SetTargetDeclination(value, !SharedResourcesWrapper.IsLongFormat); + dms = SetTargetDeclination(value, !SharedResourcesWrapper.IsLongFormat); //todo add unit test for this scenario } SharedResourcesWrapper.TargetDeclination = _utilities.DMSToDegrees(dms); @@ -3518,7 +3518,7 @@ namespace ASCOM.Meade.net } catch (InvalidOperationException) { - hms = SetTargetRightAscension(value, !SharedResourcesWrapper.IsLongFormat); + hms = SetTargetRightAscension(value, !SharedResourcesWrapper.IsLongFormat); //todo add unit test for this scenario } SharedResourcesWrapper.TargetRightAscension = _utilities.HMSToHours(hms);