From 2495676fd302dfb4fddd3657eea29f959ec7e13b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Fri, 17 May 2024 16:37:50 +0300 Subject: [PATCH] deps: Updated the UT dependencies --- .../MoreCulturalNamesBuilder.UnitTests.csproj | 6 +++--- .../Service/NameNormaliserTests.cs | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/MoreCulturalNamesBuilder.UnitTests/MoreCulturalNamesBuilder.UnitTests.csproj b/MoreCulturalNamesBuilder.UnitTests/MoreCulturalNamesBuilder.UnitTests.csproj index 4f126f7..2576809 100644 --- a/MoreCulturalNamesBuilder.UnitTests/MoreCulturalNamesBuilder.UnitTests.csproj +++ b/MoreCulturalNamesBuilder.UnitTests/MoreCulturalNamesBuilder.UnitTests.csproj @@ -7,9 +7,9 @@ - - - + + + diff --git a/MoreCulturalNamesBuilder.UnitTests/Service/NameNormaliserTests.cs b/MoreCulturalNamesBuilder.UnitTests/Service/NameNormaliserTests.cs index c28d18c..3afb259 100644 --- a/MoreCulturalNamesBuilder.UnitTests/Service/NameNormaliserTests.cs +++ b/MoreCulturalNamesBuilder.UnitTests/Service/NameNormaliserTests.cs @@ -163,7 +163,7 @@ public void WhenNormalisingForCK3_ReturnsTheExpectedNormalisedName( { string actualResult = nameNormaliser.ToCK3Charset(name); - Assert.AreEqual(expectedResult, actualResult); + Assert.That(actualResult, Is.EqualTo(expectedResult)); } // Hearts of Iron 4 Cities @@ -303,7 +303,7 @@ public void WhenNormalisingForHOI4City_ReturnsTheExpectedNormalisedName( { string actualResult = nameNormaliser.ToHOI4CityCharset(name); - Assert.AreEqual(expectedResult, actualResult); + Assert.That(actualResult, Is.EqualTo(expectedResult)); } [Test] @@ -442,7 +442,7 @@ public void WhenNormalisingForWindow1252_ReturnsTheExpectedNormalisedName( { string actualResult = nameNormaliser.ToWindows1252(name); - Assert.AreEqual(expectedResult, actualResult); + Assert.That(actualResult, Is.EqualTo(expectedResult)); } // Imperator Rome @@ -582,7 +582,7 @@ public void WhenNormalisingForImperatorRome_ReturnsTheExpectedNormalisedName( { string actualResult = nameNormaliser.ToImperatorRomeCharset(name); - Assert.AreEqual(expectedResult, actualResult); + Assert.That(actualResult, Is.EqualTo(expectedResult)); } [Test] @@ -623,7 +623,7 @@ void TestCharsNotOutsideSet(string str, string charset) charsOutisdeCharset = string.Empty; } - Assert.AreEqual(string.Empty, charsOutisdeCharset); + Assert.That(charsOutisdeCharset, Is.Empty); } } }