public void Test2() { var sol = new OddOccurrencesInArraySol(); var n = sol.Find(new int[] { 9, 3, 9, 3, 9, 7, 9 }); Assert.That(n, Is.EqualTo(7)); }
public void Test1() { var sol = new OddOccurrencesInArraySol(); var n = sol.Find(new int[] { 4, 3, 4 }); Assert.That(n, Is.EqualTo(3)); }