Skip to content

Commit

Permalink
[Anomaly detector] Fix readme links and changelog release date for pr…
Browse files Browse the repository at this point in the history
…eview-2 (#14854)

 [Anomaly detector] Fix readme links and changelog release date for preview2
  • Loading branch information
ShivangiReja authored Sep 3, 2020
1 parent 596ab9b commit bbcbf73
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion sdk/anomalydetector/Azure.AI.AnomalyDetector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 3.0.0-preview.2 (2020-09-02)
## 3.0.0-preview.2 (2020-09-03)

### Breaking Changes
- Renamed `AnomalyDetectorClient.EntireDetectAsync` and `AnomalyDetectorClient.EntireDetect` to `AnomalyDetectorClient.DetectEntireSeriesAsync` and `AnomalyDetectorClient.DetectEntireSeries`.
Expand Down
2 changes: 1 addition & 1 deletion sdk/anomalydetector/Azure.AI.AnomalyDetector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
<!-- LINKS -->
[anomalydetector_client_src]: https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/anomalydetector/Azure.AI.AnomalyDetector/src
[anomalydetector_docs]: https://docs.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/
[anomalydetector_refdocs]: https://aka.ms/azsdk/net/docs/ref/anomalydetector
[anomalydetector_refdocs]: https://azure.github.io/azure-sdk-for-net/anomalydetector.html
[anomalydetector_nuget_package]: https://www.nuget.org/packages/Azure.AI.AnomalyDetector

[anomaly_detector_client_class]: https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/AnomalyDetectorClient.cs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ public async Task GetResultForEntireDetect()
request.Sensitivity = 95;
var result = await client.DetectEntireSeriesAsync(request);

Assert.AreEqual(TestData.ExpectedEntireResult.ExpectedValues, result.Value.ExpectedValues);
Assert.AreEqual(TestData.ExpectedEntireResult.UpperMargins, result.Value.UpperMargins);
Assert.AreEqual(TestData.ExpectedEntireResult.LowerMargins, result.Value.LowerMargins);
Assert.AreEqual(TestData.ExpectedEntireResult.IsAnomaly, result.Value.IsAnomaly);
Assert.AreEqual(TestData.ExpectedEntireResult.IsPositiveAnomaly, result.Value.IsPositiveAnomaly);
Assert.AreEqual(TestData.ExpectedEntireResult.IsNegativeAnomaly, result.Value.IsNegativeAnomaly);
Assert.AreEqual(TestData.ExpectedEntireDetectResult.ExpectedValues, result.Value.ExpectedValues);
Assert.AreEqual(TestData.ExpectedEntireDetectResult.UpperMargins, result.Value.UpperMargins);
Assert.AreEqual(TestData.ExpectedEntireDetectResult.LowerMargins, result.Value.LowerMargins);
Assert.AreEqual(TestData.ExpectedEntireDetectResult.IsAnomaly, result.Value.IsAnomaly);
Assert.AreEqual(TestData.ExpectedEntireDetectResult.IsPositiveAnomaly, result.Value.IsPositiveAnomaly);
Assert.AreEqual(TestData.ExpectedEntireDetectResult.IsNegativeAnomaly, result.Value.IsNegativeAnomaly);
}

[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ internal static class TestData
},
TimeGranularity.Monthly);

public static EntireDetectResponse ExpectedEntireResult = new EntireDetectResponse(
public static EntireDetectResponse ExpectedEntireDetectResult = new EntireDetectResponse(
12,
new List<float>
{
Expand Down

0 comments on commit bbcbf73

Please sign in to comment.