diff --git a/AioNet.LinqTest/ExtendedLinqTest.cs b/AioNet.LinqTest/ExtendedLinqTest.cs index 050f1e9..130c7f8 100644 --- a/AioNet.LinqTest/ExtendedLinqTest.cs +++ b/AioNet.LinqTest/ExtendedLinqTest.cs @@ -20,7 +20,7 @@ public class ExtendedLinqTest public void FindThreeCombinationsFor3Elements_SubsequenceLength2() { var foundCombinations = new[] { 1, 2, 3 }.Combinations(2); - Assert.True(foundCombinations.Count() == 3); + Assert.Equal(3, foundCombinations.Count()); } [Theory] @@ -35,7 +35,7 @@ public class ExtendedLinqTest foreach (var foundCombination in foundCombinations) { - Assert.True(foundCombination.Count() == subsequenceLength); + Assert.Equal(subsequenceLength, foundCombination.Count()); } } }