CCT.NUI.Tests.Core.DepthDataFrameTests.Test_With_And_Height_Properties C# (CSharp) Method

Test_With_And_Height_Properties() private method

private Test_With_And_Height_Properties ( ) : void
return void
        public void Test_With_And_Height_Properties()
        {
            int width = 20;
            int height = 10;

            var frame = new DepthDataFrame(width, height);

            Assert.AreEqual(width, frame.Width);
            Assert.AreEqual(height, frame.Height);

            Assert.AreEqual(frame.Size.Width, frame.Width);
            Assert.AreEqual(frame.Size.Height, frame.Height);
        }