public void UrlTest() { string[] subStrArr = { "url", "size", "br" }; bool isPass = TestTool.TargetStrContain(() => Api.FormatMethod(true).Url("35847388"), subStrArr); Assert.True(isPass); }
public void PicTest() { string[] subStrArr = { "url" }; bool isPass = TestTool.TargetStrContain(() => Api.FormatMethod(true).Pic("1407374890649284"), subStrArr); Assert.True(isPass); }
public void LyricTest() { string[] subStrArr = { "lyric", "tlyric" }; bool isPass = TestTool.TargetStrContain(() => Api.FormatMethod(true).Lyric("35847388"), subStrArr); Assert.True(isPass); }
public void PicTest() { string[] subStrArr = { "url" }; bool isPass = TestTool.TargetStrContain(() => Api.FormatMethod(true).Pic("00384f3K3IcUMu"), subStrArr); Assert.True(isPass); }
public void ArtistTest() { string[] subStrArr = { "id", "name", "artist", "album", "pic_id", "url_id", "lyric_id", "source", }; bool isPass = TestTool.TargetStrContain(() => Api.FormatMethod(true).Artist("1049179"), subStrArr); Assert.True(isPass); }
public void SongTest() { string[] subStrArr = { "id", "name", "artist", "album", "pic_id", "url_id", "lyric_id", "source", }; bool isPass = TestTool.TargetStrContain(() => Api.FormatMethod(true).Song("001Nal2N2f0Qr8"), subStrArr); Assert.True(isPass); }