summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.UnitTests/OpenGLViewUnitTests.cs
blob: 4a658323168f3567c6b9cb99f271452d240efc5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;

			view.Display ();
			Assert.True (displayed);
		}
	}
}