mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
* Refactored test namespaces. Moved some tests that were in wrong project. Code cleanup * Parrallel -> Parallel
15 lines
333 B
C#
15 lines
333 B
C#
namespace UnitTests.ViewsTests;
|
|
|
|
public class TabTests
|
|
{
|
|
[Fact]
|
|
public void Constructor_Defaults ()
|
|
{
|
|
var tab = new Tab ();
|
|
Assert.Equal ("Unnamed", tab.DisplayText);
|
|
Assert.Null (tab.View);
|
|
Assert.Equal (LineStyle.Rounded, tab.BorderStyle);
|
|
Assert.True (tab.CanFocus);
|
|
}
|
|
}
|