Canon/Canon.Tests/Utils.cs

17 lines
277 B
C#
Raw Normal View History

2024-03-09 21:44:37 +08:00
namespace Canon.Tests;
public static class Utils
{
public static LinkedList<char> GetLinkedList(string content)
{
LinkedList<char> list = [];
foreach(char c in content)
{
list.AddLast(c);
}
return list;
}
}