public void GroupNoSegmentShouldBeEmpty()
        {
            var input  = new RouteString("AUTO A B".Split(' '));
            var result = EntryGrouping.Group(input);

            Assert.AreEqual(2, result.Count);
            Assert.IsTrue(result[0].IsAuto);
            AssertSegment(result[1], new[] { "A", "B" });
        }
        public void GroupTest()
        {
            var input  = new RouteString("A B AUTO C D RAND E".Split(' '));
            var result = EntryGrouping.Group(input);

            Assert.AreEqual(5, result.Count);
            AssertSegment(result[0], new[] { "A", "B" });
            Assert.IsTrue(result[1].IsAuto);
            AssertSegment(result[2], new[] { "C", "D" });
            Assert.IsTrue(result[3].IsRand);
            AssertSegment(result[4], new[] { "E" });
        }