public void solution_highestAttractivenessCitiesTest_6CitiesReturn14() { // arrange var Solution = new CodilitySolution(); var expected = 14; // act int[] A = { -8, 4, 0, 5, -3, 6 }; var actual = Solution.solution_highestAttractivenessCities(A); // assert Assert.AreEqual(expected, actual); }
public void solution_highestAttractivenessCitiesTest_3CitiesReturn6() { // arrange var Solution = new CodilitySolution(); var expected = 6; // act int[] A = { 1, 3, -3 }; var actual = Solution.solution_highestAttractivenessCities(A); // assert Assert.AreEqual(expected, actual); }