A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
435 B

using Avalonia.Media;
using Xunit;
namespace Avalonia.Base.UnitTests.Media
{
public class SolidColorBrushTests
{
[Fact]
public void Changing_Color_Raises_Invalidated()
{
var target = new SolidColorBrush(Colors.Red);
RenderResourceTestHelper.AssertResourceInvalidation(target, () =>
{
target.Color = Colors.Green;
});
}
}
}