コード例 #1
0
 public void SubTagComponentDescription_HasForwardSlash_ReplacesWithPipe()
 {
     Assert.AreEqual(
         "=|Kx'au||'ein",
         StandardTags.SubTagComponentDescription("Description: =/Kx'au//'ein")
         );
 }
コード例 #2
0
 public void SubTagComponentDescription_HasAliasFor_RemovesAliasFor()
 {
     Assert.AreEqual(
         "Japanese (Han + Hiragana + Katakana)",
         StandardTags.SubTagComponentDescription("Description: Japanese (alias for Han + Hiragana + Katakana)")
         );
 }
コード例 #3
0
 public void SubTagComponentDescription_HasBeginningParenthesis_RemovesParens()
 {
     Assert.AreEqual(
         "Hiragana + Katakana",
         StandardTags.SubTagComponentDescription("Description: (Hiragana + Katakana)")
         );
 }