Skip to content

Commit bf7c64b

Browse files
authored
Update SpookyHashV2 tests with CLS Compliant types
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent b2a8779 commit bf7c64b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

HashifyNet.UnitTests/Algorithms/SpookyHash/SpookyHashV2_Implementation_Tests.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public void SpookyHashV2_Implementation_Constructor_ValidInputs_Works()
4747
.Returns(32);
4848

4949
spookyHashConfigMock.SetupGet(xhc => xhc.Seed)
50-
.Returns(0UL);
50+
.Returns(0L);
5151

5252
spookyHashConfigMock.SetupGet(xhc => xhc.Seed2)
53-
.Returns(0UL);
53+
.Returns(0L);
5454

5555
spookyHashConfigMock.Setup(xhc => xhc.Clone())
5656
.Returns(() => spookyHashConfigMock.Object);
@@ -309,8 +309,8 @@ protected override ISpookyHashV2 CreateHashFunction(int hashSize) =>
309309
new SpookyHashConfig()
310310
{
311311
HashSizeInBits = hashSize,
312-
Seed = 0x7da236b987930b75U,
313-
Seed2 = 0x2eb994a3851d2f54U
312+
Seed = 0x7da236b987930b75,
313+
Seed2 = 0x2eb994a3851d2f54
314314
});
315315
}
316316

@@ -330,9 +330,9 @@ protected override ISpookyHashV2 CreateHashFunction(int hashSize) =>
330330
new SpookyHashV2_Implementation(
331331
new SpookyHashConfig()
332332
{
333-
Seed = 0x7da236b987930b75U,
334-
Seed2 = 0x2eb994a3851d2f54U
333+
Seed = 0x7da236b987930b75,
334+
Seed2 = 0x2eb994a3851d2f54
335335
});
336336
}
337337
}
338-
}
338+
}

0 commit comments

Comments
 (0)