File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
HashifyNet.UnitTests/Algorithms/FarmHash Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,13 @@ namespace HashifyNet.UnitTests.Algorithms.FarmHash
3434{
3535 public class FarmHashFingerprint32_Implementation_Tests
3636 {
37-
3837 #region Constructor
3938
4039 [ Fact ]
4140 public void FarmHashFingerprint32_Implementation_Constructor_Works ( )
4241 {
4342 GC . KeepAlive (
44- HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Instance . Create ( new FarmHashConfig ( ) { HashSizeInBits = 32 } ) ) ;
43+ HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Create ( new FarmHashConfig ( ) { HashSizeInBits = 32 } ) ) ;
4544 }
4645
4746 #endregion
@@ -51,7 +50,7 @@ public void FarmHashFingerprint32_Implementation_Constructor_Works()
5150 [ Fact ]
5251 public void FarmHashFingerprint32_Implementation_HashSizeInBits_Is32 ( )
5352 {
54- var farmHash = HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Instance . Create ( new FarmHashConfig ( ) { HashSizeInBits = 32 } ) ;
53+ var farmHash = HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Create ( new FarmHashConfig ( ) { HashSizeInBits = 32 } ) ;
5554
5655 Assert . Equal ( 32 , farmHash . Config . HashSizeInBits ) ;
5756 }
@@ -71,7 +70,8 @@ public class IHashFunction_Tests
7170 } ;
7271
7372 protected override IFarmHashFingerprint CreateHashFunction ( int hashSize ) =>
74- HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Instance . Create ( new FarmHashConfig ( ) { HashSizeInBits = 32 } ) ;
73+ HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Create ( new FarmHashConfig ( ) { HashSizeInBits = 32 } ) ;
7574 }
7675 }
77- }
76+
77+ }
You can’t perform that action at this time.
0 commit comments