Example #1
0
        public void VertScrollBarConstructorTest()
        {
            Vector2       topLeft = new Vector2(); // TODO: Initialize to an appropriate value
            float         height  = 0F;            // TODO: Initialize to an appropriate value
            VertScrollBar target  = new VertScrollBar(topLeft, height);

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
Example #2
0
        public void DrawTest()
        {
            Vector2       topLeft = new Vector2();                      // TODO: Initialize to an appropriate value
            float         height  = 0F;                                 // TODO: Initialize to an appropriate value
            VertScrollBar target  = new VertScrollBar(topLeft, height); // TODO: Initialize to an appropriate value
            SpriteBatch   sb      = null;                               // TODO: Initialize to an appropriate value

            target.Draw(sb);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Example #3
0
        public void BoundBoxPartTest()
        {
            Vector2       topLeft = new Vector2();                      // TODO: Initialize to an appropriate value
            float         height  = 0F;                                 // TODO: Initialize to an appropriate value
            VertScrollBar target  = new VertScrollBar(topLeft, height); // TODO: Initialize to an appropriate value
            Rectangle     actual;

            actual = target.BoundBoxPart;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Example #4
0
        public void setPositionTest()
        {
            Vector2       topLeft = new Vector2();                      // TODO: Initialize to an appropriate value
            float         height  = 0F;                                 // TODO: Initialize to an appropriate value
            VertScrollBar target  = new VertScrollBar(topLeft, height); // TODO: Initialize to an appropriate value
            Vector2       pos     = new Vector2();                      // TODO: Initialize to an appropriate value

            target.setPosition(pos);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Example #5
0
        public void UpdateTest()
        {
            Vector2       topLeft = new Vector2();                      // TODO: Initialize to an appropriate value
            float         height  = 0F;                                 // TODO: Initialize to an appropriate value
            VertScrollBar target  = new VertScrollBar(topLeft, height); // TODO: Initialize to an appropriate value
            GameTime      time    = null;                               // TODO: Initialize to an appropriate value

            target.Update(time);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Example #6
0
        public void GetMaxTest()
        {
            Vector2       topLeft  = new Vector2();                      // TODO: Initialize to an appropriate value
            float         height   = 0F;                                 // TODO: Initialize to an appropriate value
            VertScrollBar target   = new VertScrollBar(topLeft, height); // TODO: Initialize to an appropriate value
            float         expected = 0F;                                 // TODO: Initialize to an appropriate value
            float         actual;

            actual = target.GetMax();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }