public void TestOnlyContainsSingers(string[] existSingers, string[] compareSingers, bool isContain) { var singers = TestCaseTagHelper.ParseSingers(compareSingers).ToList(); var lyric = new Lyric { Singers = TestCaseTagHelper.ParseSingers(existSingers)?.Select(x => x.ID).ToArray() }; Assert.AreEqual(LyricUtils.OnlyContainsSingers(lyric, singers), isContain); }