summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/tests/MonoGame.Extended.Tests/TestHelper.cs
blob: b6a02bb5a52406b3d801815aeaf7bb94be1f7b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//using Microsoft.Xna.Framework;
//using Microsoft.Xna.Framework.Graphics;
//using Xunit;

//namespace MonoGame.Extended.Tests
//{
//    public static class TestHelper
//    {
//        public static void AreEqual(Vector3 a, Vector3 b, double delta)
//        {
//            Assert.Equal(a.X, b.X, delta);
//            Assert.Equal(a.Y, b.Y, delta);
//            Assert.Equal(a.Z, b.Z, delta);
//        }

//        public static GraphicsDevice CreateGraphicsDevice()
//        {
//            return new GraphicsDevice(
//                GraphicsAdapter.DefaultAdapter,
//                GraphicsProfile.HiDef,
//                new PresentationParameters())
//            {
//                Viewport = new Viewport(0, 0, 800, 480)
//            };
//        }
//    }
//}