maui-linux/Xamarin.Forms.Core.UnitTests/OpenGLViewUnitTests.cs

21 строка
348 B
C#
Исходник Обычный вид История

2016-03-22 23:02:25 +03:00
using NUnit.Framework;
namespace Xamarin.Forms.Core.UnitTests
{
[TestFixture]
public class OpenGLViewUnitTests : BaseTestFixture
{
[Test]
public void Display ()
{
var view = new OpenGLView ();
bool displayed = false;
view.DisplayRequested += (s, o) => displayed = true;
2016-03-22 23:02:25 +03:00
view.Display ();
Assert.True (displayed);
}
}
}