File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
HashifyNet.UnitTests/Algorithms/FarmHash Expand file tree Collapse file tree 1 file changed +4
-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 FarmHashFingerprint128_Implementation_Tests
3636 {
37-
3837 #region Constructor
3938
4039 [ Fact ]
4140 public void FarmHashFingerprint128_Implementation_Constructor_Works ( )
4241 {
4342 GC . KeepAlive (
44- HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Instance . Create ( new FarmHashConfig ( ) { HashSizeInBits = 128 } ) ) ;
43+ HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Create ( new FarmHashConfig ( ) { HashSizeInBits = 128 } ) ) ;
4544 }
4645
4746 #endregion
@@ -51,7 +50,7 @@ public void FarmHashFingerprint128_Implementation_Constructor_Works()
5150 [ Fact ]
5251 public void FarmHashFingerprint128_Implementation_HashSizeInBits_Is128 ( )
5352 {
54- var farmHash = HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Instance . Create ( new FarmHashConfig ( ) { HashSizeInBits = 128 } ) ;
53+ var farmHash = HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Create ( new FarmHashConfig ( ) { HashSizeInBits = 128 } ) ;
5554
5655 Assert . Equal ( 128 , farmHash . Config . HashSizeInBits ) ;
5756 }
@@ -74,7 +73,7 @@ public class IHashFunction_Tests
7473 } ;
7574
7675 protected override IFarmHashFingerprint CreateHashFunction ( int hashSize ) =>
77- HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Instance . Create ( new FarmHashConfig ( ) { HashSizeInBits = 128 } ) ;
76+ HashFactory < IFarmHashFingerprint , IFarmHashConfig > . Create ( new FarmHashConfig ( ) { HashSizeInBits = 128 } ) ;
7877 }
7978 }
80- }
79+ }
You can’t perform that action at this time.
0 commit comments