mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-09-06 05:36:53 +00:00
feat: Added KuWo(酷我) Music lyrics source (incomplete).
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZonyLrcTools.Common.Configuration;
|
||||
using ZonyLrcTools.Common.Lyrics;
|
||||
|
||||
namespace ZonyLrcTools.Tests.Infrastructure.Lyrics
|
||||
{
|
||||
public class LyricCollectionTests : TestBase
|
||||
{
|
||||
[Fact]
|
||||
public void LyricCollectionLineBreak_Test()
|
||||
{
|
||||
var lyricObject = new LyricsItemCollection(new GlobalLyricsConfigOptions
|
||||
{
|
||||
IsOneLine = false,
|
||||
LineBreak = LineBreakType.MacOs
|
||||
})
|
||||
{
|
||||
new(0, 20, "你好世界!"),
|
||||
new(0, 22, "Hello World!")
|
||||
};
|
||||
|
||||
lyricObject.ToString().ShouldContain(LineBreakType.MacOs);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user