コード例 #1
0
        public void Test1()
        {
            var  myTest   = new AnagramTest();
            bool expected = false;
            bool actual   = myTest.IsAnagram("word", "work");

            Assert.Equal(expected, actual);
        }
コード例 #2
0
        public void Test2(string word1, string word2)
        {
            var myTestObject = new AnagramTest();

            Assert.Equal(true, myTestObject.IsAnagram(word1, word2));
        }