mirror of
https://onedev.fprog.nl/AioNet
synced 2026-02-06 07:33:42 +01:00
Refactor.
This commit is contained in:
parent
1797d05cf0
commit
579b10419e
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue