Introduce test CombinationsWithoutRepetionZeroLength()
MODIFY
WalletWasabi.Tests/UnitTests/LinqExtensionsTests.cs
WalletWasabi.Tests/UnitTests/LinqExtensionsTests.cs
@@ -69,6 +69,12 @@ public class LinqExtensionsTests
Assert.Equal("1, 2, 3, 4", asString[i++]);
}
+ [Fact]
+ public void CombinationsWithoutRepetitionZeroLength()
+ {
+ AssertAsync.CompletesIn(1, () => Enumerable.Range(0, 32).CombinationsWithoutRepetition(ofLength: 0).ToArray());
+ }
+
[Fact]
public void ZippingTests()
{

Introduce test CombinationsWithoutRepetionZeroLength()