Base:
4 references to Equals
Microsoft.Extensions.AI.Abstractions.Tests (4)
ChatCompletion\ChatRoleTests.cs (4)
29Assert.True(new ChatRole("abc").Equals((object)new ChatRole("ABC"))); 34Assert.False(new ChatRole("abc").Equals((object)new ChatRole("def"))); 35Assert.False(new ChatRole("abc").Equals(null)); 36Assert.False(new ChatRole("abc").Equals("abc"));