public void TestGetRightmostVertexIndex()
        {
            List <Cartesian> ring = new List <Cartesian> {
                new Cartesian(0.0, 1.0, 0.0),
                new Cartesian(1.0, 2.0, 0.0),
                new Cartesian(2.0, 2.0, 0.0),
                new Cartesian(3.0, 1.0, 0.0),
                new Cartesian(2.0, 0.0, 0.0),
                new Cartesian(1.0, 1.0, 0.0)
            };
            int expectedResult = 3;
            int result         = PolygonAlgorithms.GetRightmostVertexIndex(ring);

            Assert.AreEqual(expectedResult, result);
        }