public void SameFirstLastTest(int[] nums, bool expected) { var actual = _arr.SameFirstLast(nums); Assert.AreEqual(expected, actual); }