public void EmptyTest() { var input = new int[] { }; var r = new Codility02_OddOccurences().Occurences(input); Assert.AreEqual(0, r); }
public void SampleTest() { var input = new[] { 9, 3, 9, 3, 9, 7, 9 }; var r = new Codility02_OddOccurences().Occurences(input); Assert.AreEqual(7, r); }