private void TheArrayHasTheExpectedSize(int arraySize) { var arrayFiller = new ArrayFiller(arraySize); var array = arrayFiller.GetRandomlyFilledArray(); Assert.AreEqual(arraySize, array.Length); }
private void TheArrayDoesNotHaveDuplicatess(int arraySize) { var arrayFiller = new ArrayFiller(arraySize); var array = arrayFiller.GetRandomlyFilledArray(); Assert.AreEqual(array.Distinct().Count(), array.Length); }