mirror of
https://github.com/dnwSilver/tld.git
synced 2024-11-25 16:42:07 +00:00
18 lines
543 B
C#
18 lines
543 B
C#
using TUI.Engine.Nodes;
|
|
using TUI.Engine.Rendering;
|
|
using TUI.Engine.Rendering.Canvas;
|
|
using TUI.Engine.Tests.Stubs;
|
|
|
|
namespace TUI.Engine.Tests.Draw;
|
|
|
|
public class ComponentBaseTests
|
|
{
|
|
protected readonly TestComponent Component = Prepare.Component();
|
|
|
|
protected IDrawable<INode> Craftsman(ICanvas canvas)
|
|
{
|
|
var componentCraftsman = new ComponentCraftsman(canvas);
|
|
var containerCraftsman = new ContainerCraftsman(componentCraftsman);
|
|
return new DrawCraftsman(componentCraftsman, containerCraftsman);
|
|
}
|
|
} |