Skip to content

Commit b6bdc11

Browse files
authored
Refactor BuzHashConfig_Tests for data type updates
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 88017e7 commit b6bdc11

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

HashifyNet.UnitTests/Algorithms/BuzHash/BuzHashConfig_Tests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void BuzHashConfig_Defaults_HaventChanged()
4141
Assert.Null(buzHashConfig.Rtab);
4242

4343
Assert.Equal(64, buzHashConfig.HashSizeInBits);
44-
Assert.Equal(0UL, buzHashConfig.Seed);
44+
Assert.Equal(0L, buzHashConfig.Seed);
4545
Assert.Equal(CircularShiftDirection.Left, buzHashConfig.ShiftDirection);
4646
}
4747

@@ -50,9 +50,9 @@ public void BuzHashConfig_Clone_Works()
5050
{
5151
var buzHashConfig = new BuzHashConfig()
5252
{
53-
Rtab = new UInt64[256],
53+
Rtab = new long[256],
5454
HashSizeInBits = 32,
55-
Seed = 1337UL,
55+
Seed = 1337L,
5656
ShiftDirection = CircularShiftDirection.Right
5757
};
5858

@@ -73,7 +73,7 @@ public void BuzHashConfig_Clone_WithNullArrays_Works()
7373
{
7474
Rtab = null,
7575
HashSizeInBits = 32,
76-
Seed = 1337UL,
76+
Seed = 1337L,
7777
ShiftDirection = CircularShiftDirection.Right
7878
};
7979

@@ -87,4 +87,4 @@ public void BuzHashConfig_Clone_WithNullArrays_Works()
8787
Assert.Equal(buzHashConfig.ShiftDirection, buzHashConfigClone.ShiftDirection);
8888
}
8989
}
90-
}
90+
}

0 commit comments

Comments
 (0)