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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user