public void IsProductOfAllIndexValidWithoutDevide() { var arrayRepo = new ArrayRepo(); var data = new List <int> { 1, 2, 3, 4, 5 }; var actualResult = new List <int> { 120, 60, 40, 30, 24 }; var result = arrayRepo.GetProductOfArrayWithoutDiv(data); var flag = Enumerable.SequenceEqual(actualResult, result); Assert.IsTrue(flag, "Result Validated"); }