public void Result_fill_array_with_random_numbers() { Random rnd = new Random(); int a = rnd.Next(1, 20); int b = rnd.Next(1, 20); int c = rnd.Next(1, 20); int d = rnd.Next(1, 20); List <int> array = new List <int> { a, b, c, d }; List <int> expectedArray = new List <int> { a, b, c, d }; List <int> actual = arraySorter.addRandomNumbersToArray(array); CollectionAssert.AreEqual(expectedArray, actual); }