Skip to content

Commit c401a0c

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

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

HashifyNet.UnitTests/Algorithms/SpookyHash/SpookyHashConfig_Tests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public void SpookyHashConfig_Defaults_HaventChanged()
3939
var spookyHashConfig = new SpookyHashConfig();
4040

4141
Assert.Equal(128, spookyHashConfig.HashSizeInBits);
42-
Assert.Equal(0UL, spookyHashConfig.Seed);
43-
Assert.Equal(0UL, spookyHashConfig.Seed2);
42+
Assert.Equal(0L, spookyHashConfig.Seed);
43+
Assert.Equal(0L, spookyHashConfig.Seed2);
4444
}
4545

4646
[Fact]
@@ -49,8 +49,8 @@ public void SpookyHashConfig_Clone_Works()
4949
var spookyHashConfig = new SpookyHashConfig()
5050
{
5151
HashSizeInBits = 32,
52-
Seed = 1337UL,
53-
Seed2 = 7331UL
52+
Seed = 1337L,
53+
Seed2 = 7331L
5454
};
5555

5656
var spookyHashConfigClone = spookyHashConfig.Clone();
@@ -62,4 +62,4 @@ public void SpookyHashConfig_Clone_Works()
6262
Assert.Equal(spookyHashConfig.Seed2, spookyHashConfigClone.Seed2);
6363
}
6464
}
65-
}
65+
}

0 commit comments

Comments
 (0)