Skip to content

Commit

Permalink
Update version to 1.0.70
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Simpson committed Jan 9, 2023
1 parent 7f210f6 commit 7fcc803
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<PropertyGroup>
<!-- This is the solution level version for NuGet packages, This should be x.x.x semver (or x.x.x-suffix for pre-release -->
<!-- https://docs.microsoft.com/en-us/nuget/concepts/package-versioning -->
<Version>1.0.69</Version>
<Version>1.0.70</Version>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion test/ASCOMStandard.Tests/Alpaca/AlpacaDiscoveryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ public async void GetAscomDevicesSelectDeviceType()
// Create a single device subset of Telescope devices (Could be achieved more simply by supplying a DeviceTypes parameter value in place of the null parameter in the command above)
var ascomDevices = allAscomDevices.Where(info => info.AscomDeviceType == DeviceTypes.Telescope);
TL.LogMessage("Test", $"Returned from GetAscomDevicesAsync");
TL.LogMessage("Test", $"Found {ascomDevices.Count()} Telescope devices");

Assert.NotEmpty(ascomDevices);
TL.LogMessage("Test", $"Found {ascomDevices.Count()} Telescope devices");
foreach (AscomDevice ascomDevice in ascomDevices)
{
Assert.False(String.IsNullOrEmpty(ascomDevice.ServerName));
Expand Down
12 changes: 6 additions & 6 deletions test/ASCOMStandard.Tests/Clients/ExtensionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -852,18 +852,18 @@ public static async Task TelescopeSlewToAltAzTest()
TL.LogMessage("Main", $"Tracking set false");

// Slew somewhere that is not likely to be the test position
TL.LogMessage("Main", $"Slewing to somewhere that is not likely to be the test position");
await client.SlewToAltAzTaskAsync(15.0, 7.0, pollInterval: 100, logger: TL);
TL.LogMessage("Main", $"Slewing to 50, 60 that is not the test position");
await client.SlewToAltAzTaskAsync(50.0, 60.0, pollInterval: 100, logger: TL);
TL.LogMessage("Main", $"Slew await complete, Is parked: {client.AtPark}, Is at home: {client.AtHome}, Azimuth: {client.Azimuth}, Altitude: {client.Altitude}");

// Slew to the target
TL.LogMessage("Main", $"Slewing to the target ALt/Az (0.0, 0.0)");
await client.SlewToAltAzTaskAsync(0.0, 0.0, pollInterval: 100, logger: TL);
TL.LogMessage("Main", $"Slewing to the target ALt/Az (40.0, 50.0)");
await client.SlewToAltAzTaskAsync(40.0, 50.0, pollInterval: 100, logger: TL);
TL.LogMessage("Main", $"Slew await complete, Is parked: {client.AtPark}, Is at home: {client.AtHome}, Azimuth: {client.Azimuth}, Altitude: {client.Altitude}");
Assert.False(client.AtHome);
Assert.False(client.AtPark);
Assert.Equal(0.0, Math.Round(client.Azimuth, 1));
Assert.Equal(0.0, Math.Round(client.Altitude, 1));
Assert.Equal(40.0, Math.Round(client.Azimuth, 1));
Assert.Equal(50.0, Math.Round(client.Altitude, 1));

// Disconnect from the client and dispose
client.Connected = false;
Expand Down

0 comments on commit 7fcc803

Please sign in to comment.