public void TestMethod1(int[] nums, int expected) { // Arrange FindPivotIndex question = new FindPivotIndex(); // Act int actual = question.PivotIndex(nums); // Assert Assert.AreEqual(expected, actual); }
public void BeforeEach() { findPivotIndex = new FindPivotIndex(); }