mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Globalization;
|
||||
using Xunit.Abstractions;
|
||||
|
||||
namespace Terminal.Gui.ViewsTests;
|
||||
|
||||
@@ -102,6 +101,13 @@ public class NumericUpDownTests
|
||||
Assert.Null (exception);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void WhenCreatedWithValidNumberType_ShouldThrowInvalidOperationException_UnlessTheyAreRegisterAsValid ()
|
||||
{
|
||||
Exception exception = Record.Exception (() => new NumericUpDown<short> ());
|
||||
Assert.NotNull (exception);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void WhenCreated_ShouldHaveDefaultWidthAndHeight_int ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user