diff --git a/tests/Core.Tests/ProposedCode/Domain/QualityExtensionsTests.cs b/tests/Core.Tests/ProposedCode/Domain/QualityExtensionsTests.cs index c2d4575..de6109f 100644 --- a/tests/Core.Tests/ProposedCode/Domain/QualityExtensionsTests.cs +++ b/tests/Core.Tests/ProposedCode/Domain/QualityExtensionsTests.cs @@ -45,7 +45,7 @@ public void Decrease(int qualityValue, int expectedResult) var result = quality.Decrease(); result.value.Should().Be(expectedResult); - result.Should().NotBeSameAs(expectedResult); + result.Should().NotBeSameAs(quality); } [Theory] @@ -57,7 +57,7 @@ public void Increase(int qualityValue, int expectedResult) var result = quality.Increase(); result.value.Should().Be(expectedResult); - result.Should().NotBeSameAs(expectedResult); + result.Should().NotBeSameAs(quality); } [Theory] @@ -71,7 +71,7 @@ public void DecreaseBy(int qualityValue, int step, int expectedResult) var result = quality.DecreaseBy(step); result.value.Should().Be(expectedResult); - result.Should().NotBeSameAs(expectedResult); + result.Should().NotBeSameAs(quality); } [Theory] @@ -85,7 +85,7 @@ public void IncreaseBy(int qualityValue, int step, int expectedResult) var result = quality.IncreaseBy(step); result.value.Should().Be(expectedResult); - result.Should().NotBeSameAs(expectedResult); + result.Should().NotBeSameAs(quality); } } }