public void TestSort(string[] textTags, TextTagsUtils.Sorting sorting, string[] actualTextTags) { var sortedTextTags = TextTagsUtils.Sort(TestCaseTagHelper.ParseRubyTags(textTags), sorting); TextTagAssert.ArePropertyEqual(sortedTextTags, TestCaseTagHelper.ParseRubyTags(actualTextTags)); }
public void TestFindOutOfRange(string[] textTags, string lyric, string[] actualTextTags) { var invalidTextTag = TextTagsUtils.FindOutOfRange(TestCaseTagHelper.ParseRubyTags(textTags), lyric); TextTagAssert.ArePropertyEqual(invalidTextTag, TestCaseTagHelper.ParseRubyTags(actualTextTags)); }
public void TestFindOverlapping(string[] textTags, TextTagsUtils.Sorting sorting, string[] actualTextTags) { var invalidTextTag = TextTagsUtils.FindOverlapping(TestCaseTagHelper.ParseRubyTags(textTags), sorting); Assert.AreEqual(invalidTextTag, TestCaseTagHelper.ParseRubyTags(actualTextTags)); }