public void GiveResultTest() { StringStream stringStream = new StringStream(); char[] array = new char[5] { '\0', 'a', '\0', 'i', '\0' }; stringStream.countVowel = new int[5] { 0, 3, 1, 0, 2 }; var result = stringStream.GiveResult(array); Assert.AreEqual('i', result); }