Implements some micro-optimizations
Build / Build (push) Successful in 51s

This commit is contained in:
Deukhoofd committed 2025-07-05 15:46:32 +02:00
1 parent c795f20e54
commit 8a857ed232
11 files changed
+80 -21

No files matched your search

+8
View File
@@ -22,6 +22,14 @@ public class StringKeyTests
await Assert.That(sk1 == sk2).IsEqualTo(expected);
}
[Test, MethodDataSource(nameof(StringKeyEqualityTestCases))]
public async Task StringKeyInequalityTest(string k1, string k2, bool expected)
{
var sk1 = new StringKey(k1);
var sk2 = new StringKey(k2);
await Assert.That(sk1 != sk2).IsNotEqualTo(expected);
}
[Test, MethodDataSource(nameof(StringKeyEqualityTestCases))]
public async Task HashCodeEqualityTest(string k1, string k2, bool expected)
{