Base:
4 references to GetHashCode
Microsoft.Extensions.AI.Abstractions.Tests (4)
ChatCompletion\ChatFinishReasonTests.cs (4)
31
Assert.Equal(new ChatFinishReason("abc").
GetHashCode
(), new ChatFinishReason("ABC").
GetHashCode
());
40
Assert.NotEqual(new ChatFinishReason("abc").
GetHashCode
(), new ChatFinishReason("def").
GetHashCode
()); // not guaranteed due to possible hash code collisions