File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
HashifyNet.UnitTests/Algorithms/SpookyHash Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ public void SpookyHashV1_Implementation_Constructor_ValidInputs_Works()
4949 . Returns ( 32 ) ;
5050
5151 spookyHashConfigMock . SetupGet ( xhc => xhc . Seed )
52- . Returns ( 0UL ) ;
52+ . Returns ( 0L ) ;
5353
5454 spookyHashConfigMock . SetupGet ( xhc => xhc . Seed2 )
55- . Returns ( 0UL ) ;
55+ . Returns ( 0L ) ;
5656
5757 spookyHashConfigMock . Setup ( xhc => xhc . Clone ( ) )
5858 . Returns ( ( ) => spookyHashConfigMock . Object ) ;
@@ -311,8 +311,8 @@ protected override ISpookyHashV1 CreateHashFunction(int hashSize) =>
311311 new SpookyHashConfig ( )
312312 {
313313 HashSizeInBits = hashSize ,
314- Seed = 0x7da236b987930b75U ,
315- Seed2 = 0x2eb994a3851d2f54U
314+ Seed = 0x7da236b987930b75 ,
315+ Seed2 = 0x2eb994a3851d2f54
316316 } ) ;
317317 }
318318
@@ -332,11 +332,11 @@ protected override ISpookyHashV1 CreateHashFunction(int hashSize) =>
332332 new SpookyHashV1_Implementation (
333333 new SpookyHashConfig ( )
334334 {
335- Seed = 0x7da236b987930b75U ,
336- Seed2 = 0x2eb994a3851d2f54U
335+ Seed = 0x7da236b987930b75 ,
336+ Seed2 = 0x2eb994a3851d2f54
337337 } ) ;
338338 }
339339 }
340340}
341341
342- #pragma warning restore CS0618 // SpookyHashV1_Implementation' is obsolete: 'SpookyHashV1 has known issues, use SpookyHashV2.'
342+ #pragma warning restore CS0618 // SpookyHashV1_Implementation' is obsolete: 'SpookyHashV1 has known issues, use SpookyHashV2.'
You can’t perform that action at this time.
0 commit comments