using Microsoft.VisualStudio.TestTools.UnitTesting;
using NavisworksTransport.Core;

namespace NavisworksTransport.UnitTests.CoordinateSystem
{
    [TestClass]
    public class GroundPassageSpaceOffsetTests
    {
        [TestMethod]
        public void GroundPassageSpaceVerticalOffset_ShouldStayAtHalfHeight_WhenHeightAlreadyIncludesLift()
        {
            double verticalOffset = PathPointRenderPlugin.ResolveGroundPathObjectSpaceVerticalOffset(5.7);

            Assert.AreEqual(2.85, verticalOffset, 1e-9);
        }
    }
}
