We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b98c579 commit 1f9f7f4Copy full SHA for 1f9f7f4
1 file changed
tests/OVRSharp.Graphics.OpenGL.Tests/CompositorTests.cs
@@ -1,5 +1,6 @@
1
using FluentAssertions;
2
using NUnit.Framework;
3
+using Valve.VR;
4
5
namespace OVRSharp.Graphics.OpenGL.Tests
6
{
@@ -16,9 +17,11 @@ public void Setup()
16
17
}
18
19
[Test]
- public void ShouldGetMirrorTextureSuccessfully()
20
+ [TestCase(EVREye.Eye_Left)]
21
+ [TestCase(EVREye.Eye_Right)]
22
+ public void ShouldGetMirrorTextureSuccessfully(EVREye eye)
23
- var bitmap = compositor.GetMirrorImage(Valve.VR.EVREye.Eye_Right);
24
+ var bitmap = compositor.GetMirrorImage(eye);
25
bitmap.Height.Should().BeGreaterThan(0);
26
bitmap.Width.Should().BeGreaterThan(0);
27
0 commit comments