feat: Replace Moq and FluentAssertions with NSubstitute and Shouldly in test projects

This commit is contained in:
MaddoScientisto 2026-03-12 19:40:58 +01:00
commit 41d9dacfac
6 changed files with 96 additions and 91 deletions

View file

@ -3,6 +3,7 @@ using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SixLabors.ImageSharp.PixelFormats;
using MaddoShared.ImageSharpTests.Helpers;
using Shouldly;
namespace MaddoShared.ImageSharpTests.Tests
{
@ -36,8 +37,8 @@ namespace MaddoShared.ImageSharpTests.Tests
var outPath = Path.Combine(ws.DestDir.FullName, state.NomeFileBig);
using var outImg = SixLabors.ImageSharp.Image.Load<Rgba32>(outPath);
Assert.AreEqual(800, outImg.Width);
Assert.AreEqual(600, outImg.Height);
outImg.Width.ShouldBe(800);
outImg.Height.ShouldBe(600);
}
}
}