public void BeforeEach() { LastStoneWeight = new LastStoneWeight(); }
//[TestCase(new[] { 1, 1, 3, 3, 5, 5, 7, 7 }, 0)] //[TestCase(new[] { 1, 3, 2, 3, 5, 0 }, 3)] //[TestCase(new[] { 1, 1, 2, 2 }, 2)] public void TestSolution(int[] input1, int expectedResult) { var result = new LastStoneWeight().Resolve(input1); Assert.AreEqual(expectedResult, result); }