Exemplo n.º 1
0
        public void TestSort(string[] textTags, TextTagsUtils.Sorting sorting, string[] actualTextTags)
        {
            var sortedTextTags = TextTagsUtils.Sort(TestCaseTagHelper.ParseRubyTags(textTags), sorting);

            TextTagAssert.ArePropertyEqual(sortedTextTags, TestCaseTagHelper.ParseRubyTags(actualTextTags));
        }
Exemplo n.º 2
0
        public void TestFindOutOfRange(string[] textTags, string lyric, string[] actualTextTags)
        {
            var invalidTextTag = TextTagsUtils.FindOutOfRange(TestCaseTagHelper.ParseRubyTags(textTags), lyric);

            TextTagAssert.ArePropertyEqual(invalidTextTag, TestCaseTagHelper.ParseRubyTags(actualTextTags));
        }
Exemplo n.º 3
0
        public void TestFindOverlapping(string[] textTags, TextTagsUtils.Sorting sorting, string[] actualTextTags)
        {
            var invalidTextTag = TextTagsUtils.FindOverlapping(TestCaseTagHelper.ParseRubyTags(textTags), sorting);

            Assert.AreEqual(invalidTextTag, TestCaseTagHelper.ParseRubyTags(actualTextTags));
        }