Base:
4 references to Equals
Microsoft.Extensions.AI.Abstractions.Tests (4)
ChatCompletion\ChatToolModeTests.cs (4)
22Assert.True(ChatToolMode.Auto.Equals(ChatToolMode.Auto)); 23Assert.False(ChatToolMode.Auto.Equals(ChatToolMode.RequireAny)); 24Assert.False(ChatToolMode.Auto.Equals(new RequiredChatToolMode(null))); 25Assert.False(ChatToolMode.Auto.Equals(new RequiredChatToolMode("func")));