示例#1
0
        void InternalTest(string s, int expected)
        {
            int actual = FirstUniqueCharacter.FirstUniqChar(s);

            Assert.Equal <int>(expected, actual);
        }
示例#2
0
        public void FirstUniqCharTest(string s, int expected)
        {
            var actual = new FirstUniqueCharacter().FirstUniqChar(s);

            Assert.Equal(expected, actual);
        }