public void TestGetRightmostRingIndex()
        {
            List <Cartesian> ring0 = 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)
            };

            List <Cartesian> ring1 = new List <Cartesian> {
                new Cartesian(4.0, 1.0, 0.0),
                new Cartesian(5.0, 2.0, 0.0),
                new Cartesian(6.0, 2.0, 0.0),
                new Cartesian(7.0, 1.0, 0.0),
                new Cartesian(6.0, 0.0, 0.0),
                new Cartesian(5.0, 1.0, 0.0)
            };

            List <List <Cartesian> > rings = new List <List <Cartesian> >();

            rings.Add(ring0);
            rings.Add(ring1);

            int expectedResult = 1;
            int result         = PolygonAlgorithms.GetRightmostRingIndex(rings);

            Assert.AreEqual(expectedResult, result);
        }