public void Day11_SeatingSystem_Example1_Part2_OK()
        {
            var sut = new SeatingSystem(testSeating);

            Assert.Equal(10, sut.Rows);
            Assert.Equal(10, sut.RowSize);
            Assert.Equal(0, sut.Now);

            Assert.False(sut.Compare());
            Assert.Equal(0, sut.CountOccupiedSeats(sut.Now));

            int  seats    = 0;
            bool areEqual = false;

            do
            {
                sut.CalcNextRound(true);
                areEqual = sut.Compare();
                sut.DumpGenerations();
                sut.Toggle();
                seats = sut.CountOccupiedSeats(sut.Now);
            } while (!areEqual);

            Assert.Equal(26, seats);
        }
        public void Day11SeatingSystem_Part1_OK()
        {
            var lines = DailyDataUtilities.ReadLinesFromFile("Day11Data.txt");

            Assert.Equal(94, lines.Length);
            var sut = new SeatingSystem(lines);

            Assert.False(sut.Compare());
            Assert.Equal(0, sut.CountOccupiedSeats(sut.Now));

            int  seats    = 0;
            bool areEqual = false;

            do
            {
                sut.CalcNextRound();
                areEqual = sut.Compare();
                //sut.DumpGenerations();
                sut.Toggle();
                seats = sut.CountOccupiedSeats(sut.Now);
            } while (!areEqual);

            Assert.Equal(2222, seats);
        }