Fixed problem where the telescope area was in mm when it should be mm squared. And the driver was incorrect by a factor of 1000.

This commit is contained in:
2024-12-01 22:42:19 +00:00
parent 4ef80b448e
commit 0afb80bd70
5 changed files with 13 additions and 5 deletions
@@ -845,9 +845,11 @@ namespace Meade.net.Telescope.UnitTests
[Test]
public void ApertureArea_Get_ReturnsExpectedResult()
{
_profileProperties.ApertureArea = 130674;
var result = _telescope.ApertureArea;
Assert.That(result, Is.EqualTo(_profileProperties.ApertureArea / 1000));
Assert.That(result, Is.EqualTo(_profileProperties.ApertureArea / (1000*1000)));
}
[Test]