Base:
6 references to GetHashCode
Microsoft.Extensions.AI.Abstractions.Tests (6)
ChatCompletion\ChatRoleTests.cs (6)
40Assert.Equal(new ChatRole("abc").GetHashCode(), new ChatRole("abc").GetHashCode()); 41Assert.Equal(new ChatRole("abc").GetHashCode(), new ChatRole("ABC").GetHashCode()); 42Assert.NotEqual(new ChatRole("abc").GetHashCode(), new ChatRole("def").GetHashCode()); // not guaranteed