Exemplo n.º 1
0
        public void CameraManager_Move_XY_PositionShouldMatch()
        {
            Assert.AreEqual(0.0f, _camera.Position.X);
            Assert.AreEqual(0.0f, _camera.Position.Y);

            _camera.Move(15.0f, -5.0f);

            Assert.AreEqual(15.0f, _camera.Position.X);
            Assert.AreEqual(-5.0f, _camera.Position.Y);
        }