public void TestTwo(int[] test, int expected) { SliceArray slice = new SliceArray(); var result = slice.solution(test); result.Should().Be(expected); }
public void TestOne() { SliceArray slice = new SliceArray(); int[] test = new[] { 5, 4, 4, 5, 0, 12 }; var result = slice.solution(test); result.Should().Be(4); }
void Start() { expressao = GameObject.Find("Expressao"); SliceArr = this; }