Added ability to unpark telescope

Added extra logging information to the "isslewing test"
This commit is contained in:
2020-09-21 23:04:58 +01:00
parent b33d1741c4
commit d0406b32dd
3 changed files with 34 additions and 12 deletions
@@ -947,7 +947,7 @@ namespace Meade.net.Telescope.UnitTests
{
var result = _telescope.CanUnpark;
Assert.That(result, Is.False);
Assert.That(result, Is.True);
}
[Test]
@@ -1581,11 +1581,9 @@ namespace Meade.net.Telescope.UnitTests
}
[Test]
public void Unpark_ThenThrowsException()
public void Unpark_ThenDoesNotThrowException()
{
var excpetion = Assert.Throws<MethodNotImplementedException>(() => { _telescope.Unpark(); });
Assert.That(excpetion.Method, Is.EqualTo("Unpark"));
Assert.DoesNotThrow(() => { _telescope.Unpark(); });
}
[Test]