diff --git a/X10D.Tests/src/Core/EnumerableTests.cs b/X10D.Tests/src/Core/EnumerableTests.cs index 97ae244..b320c96 100644 --- a/X10D.Tests/src/Core/EnumerableTests.cs +++ b/X10D.Tests/src/Core/EnumerableTests.cs @@ -5,4 +5,11 @@ namespace X10D.Tests.Core; [TestClass] public partial class EnumerableTests { + [TestMethod] + [DataRow(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)] + public void Shuffled(params int[] source) + { + int[] shuffled = source.Shuffled().ToArray(); // ToArray forces type match + CollectionAssert.AreNotEqual(source, shuffled); + } }