Skip to content

Commit

Permalink
Add extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman committed Jan 22, 2025
1 parent 72e0a33 commit 1aa8233
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
Expand Down Expand Up @@ -382,6 +383,14 @@ public void CreateOperationForComposableOverloadEdmFunctionReturnsCorrectOperati
Assert.Equal("Customers.Customer.MyFunction1.MyFunction2-4d93", operation2.OperationId);
Assert.Equal("Customers.Customer.MyFunction1.MyFunction2-a2b2", operation3.OperationId);
Assert.Equal("Customers.Customer.MyFunction1.MyFunction2-7bea", operation4.OperationId);
var operationIds = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
operation1.OperationId,
operation2.OperationId,
operation3.OperationId,
operation4.OperationId
};
Assert.Equal(4, operationIds.Count);// All are unique as the hashset size is unchanged!
}
else
{
Expand Down

0 comments on commit 1aa8233

Please sign in to comment.