Skip to content

Commit ca96232

Browse files
authored
Fix IHashFunction_Extensions_Tests unit tests
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent a47dc14 commit ca96232

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

HashifyNet.UnitTests/Core/IHashFunction_Extensions_Tests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ public void IHashFunction_Extensions_ComputeHash_ushort()
169169
BitConverter.GetBytes(value));
170170
}
171171

172-
private void AssertSugar(Action<IHashFunction<DefaultHashConfig>> action, byte[] data)
172+
private void AssertSugar(Action<IHashFunctionBase> action, byte[] data)
173173
{
174-
var hashFunctionMock = new Mock<IHashFunction<DefaultHashConfig>>();
174+
var hashFunctionMock = new Mock<IHashFunctionBase>();
175175

176176
hashFunctionMock.SetupGet(hf => hf.Config)
177177
.Returns(new DefaultHashConfig() { HashSizeInBits = 32 });
@@ -341,9 +341,9 @@ public void IHashFunction_Extensions_ComputeHash_WithDesiredBits_TModel()
341341

342342
#endif
343343

344-
private void AssertSugar(Action<IHashFunction<DefaultHashConfig>, int> action, byte[] data)
344+
private void AssertSugar(Action<IHashFunctionBase, int> action, byte[] data)
345345
{
346-
var hashFunctionMock = new Mock<IHashFunction<DefaultHashConfig>>();
346+
var hashFunctionMock = new Mock<IHashFunctionBase>();
347347

348348
hashFunctionMock.SetupGet(hf => hf.Config)
349349
.Returns(new DefaultHashConfig() { HashSizeInBits = 32 });
@@ -389,4 +389,4 @@ public void IHashFunction_Extensions_ComputeHash_WithDesiredBits_byteArray()
389389
}
390390
}
391391
}
392-
}
392+
}

0 commit comments

Comments
 (0)