Skip to content

Commit 3753f01

Browse files
authored
Remove space and "Instance" access
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent fcff9c0 commit 3753f01

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

HashifyNet.UnitTests/Algorithms/FarmHash/FarmHashFingerprint32_Implementation_Tests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)