feat: add unit test.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Media;
|
||||
using Ursa.Controls;
|
||||
|
||||
namespace Test.Ursa.Controls.ImageViewerTests.Stretch_Initial_Value;
|
||||
|
||||
public class StretchValueTest
|
||||
{
|
||||
[Fact]
|
||||
public void Stretch_Initial_Value_Does_Not_Crash()
|
||||
{
|
||||
ImageViewer iv = new ImageViewer()
|
||||
{
|
||||
Stretch = Stretch.UniformToFill
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user