Skip to content

Commit f54e1a0

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

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

HashifyNet.UnitTests/Algorithms/FarmHash/FarmHashFingerprint128_Implementation_Tests.cs

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

0 commit comments

Comments
 (0)