added new stuff! :D

This commit is contained in:
Alex
2025-01-22 20:28:51 +00:00
parent 0cda91e7a5
commit decb6bbab7
4 changed files with 52 additions and 18 deletions
+3 -1
View File
@@ -1,11 +1,13 @@
using Core.Utils;
using Core.Utils.Cloners;
using UnitTests.Mock;
namespace UnitTests.Tests.Utils;
[TestClass]
public class HashUtilTests
{
protected HashUtil _hashUtil = new(new RandomUtil());
protected HashUtil _hashUtil = new(new RandomUtil(new MockLogger<RandomUtil>(), new JsonCloner(new JsonUtil())));
[TestMethod]
public void GenerateTest()
+3 -1
View File
@@ -1,11 +1,13 @@
using Core.Utils;
using Core.Utils.Cloners;
using UnitTests.Mock;
namespace UnitTests.Tests.Utils;
[TestClass]
public sealed class RandomUtilTests
{
private RandomUtil _randomUtil = new();
private RandomUtil _randomUtil = new(new MockLogger<RandomUtil>(), new JsonCloner(new JsonUtil()));
[TestMethod]
public void GetIntTest()