mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 17:57:57 +01:00
22 lines
397 B
C#
22 lines
397 B
C#
using JetBrains.Annotations;
|
|
|
|
namespace Terminal.Gui.ViewsTests;
|
|
|
|
[TestSubject (typeof (Bar))]
|
|
public class BarTests
|
|
{
|
|
[Fact]
|
|
public void Constructor_Defaults ()
|
|
{
|
|
var bar = new Bar ();
|
|
|
|
Assert.NotNull (bar);
|
|
Assert.True (bar.CanFocus);
|
|
Assert.IsType<DimAuto> (bar.Width);
|
|
Assert.IsType<DimAuto> (bar.Height);
|
|
|
|
// TOOD: more
|
|
}
|
|
|
|
}
|