Skip to content

Commit fcff9c0

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

HashifyNet.UnitTests/Algorithms/FarmHash/FarmHashFingerprint64_Implementation_Tests.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class FarmHashFingerprint64_Implementation_Tests
4040
public void FarmHashFingerprint64_Implementation_Constructor_Works()
4141
{
4242
GC.KeepAlive(
43-
HashFactory<IFarmHashFingerprint, IFarmHashConfig>.Instance.Create(new FarmHashConfig() { HashSizeInBits = 64 }));
43+
HashFactory<IFarmHashFingerprint, IFarmHashConfig>.Create(new FarmHashConfig() { HashSizeInBits = 64 }));
4444
}
4545

4646
#endregion
@@ -50,7 +50,7 @@ public void FarmHashFingerprint64_Implementation_Constructor_Works()
5050
[Fact]
5151
public void FarmHashFingerprint64_Implementation_HashSizeInBits_Is64()
5252
{
53-
var farmHash = HashFactory<IFarmHashFingerprint, IFarmHashConfig>.Instance.Create(new FarmHashConfig() { HashSizeInBits = 64 });
53+
var farmHash = HashFactory<IFarmHashFingerprint, IFarmHashConfig>.Create(new FarmHashConfig() { HashSizeInBits = 64 });
5454

5555
Assert.Equal(64, farmHash.Config.HashSizeInBits);
5656
}
@@ -72,7 +72,8 @@ public class IHashFunction_Tests
7272
};
7373

7474
protected override IFarmHashFingerprint CreateHashFunction(int hashSize) =>
75-
HashFactory<IFarmHashFingerprint, IFarmHashConfig>.Instance.Create(new FarmHashConfig() { HashSizeInBits = 64 });
75+
HashFactory<IFarmHashFingerprint, IFarmHashConfig>.Create(new FarmHashConfig() { HashSizeInBits = 64 });
7676
}
7777
}
78-
}
78+
79+
}

0 commit comments

Comments
 (0)