Maybe this is what's missing to get the telescope to park

This commit is contained in:
2022-05-07 19:37:16 +01:00
parent 70f72e3df7
commit 554b1af082
2 changed files with 15 additions and 22 deletions
@@ -2715,15 +2715,15 @@ namespace Meade.net.Telescope.UnitTests
Assert.That(_telescope.Tracking, Is.True);
}
[TestCase(true)]
[TestCase(false)]
public void Tracking_Set_WhenCanSetTrackingIsFalse_ThenThrowsNotImplementedException(bool tracking)
{
// GW is not supported, so CanSetTracking is false
ConnectTelescope(firmwareVersion: TelescopeList.Autostar497_30Ee);
//[TestCase(true)]
//[TestCase(false)]
//public void Tracking_Set_WhenCanSetTrackingIsFalse_ThenThrowsNotImplementedException(bool tracking)
//{
// // GW is not supported, so CanSetTracking is false
// ConnectTelescope(firmwareVersion: TelescopeList.Autostar497_30Ee);
Assert.Throws<ASCOM.NotImplementedException>( () => { _telescope.Tracking = tracking; } );
}
// Assert.Throws<ASCOM.NotImplementedException>( () => { _telescope.Tracking = tracking; } );
//}
[TestCase(true, "AP")]
[TestCase(false, "AL")]