예제 #1
0
        static void Main(string[] args)
        {
            // PrimeNumber.PrintPrimeNumber(int.Parse(Console.ReadLine()));

            SeatingArrangement.TestCases();
            Console.ReadKey();
        }
예제 #2
0
        //[TestCase(40, 45, "AS")]
        public void SeatingTest_WS(int seatNo, int expectedSeat, string expectedSeatTye)
        {
            SeatingArrangement arrangmnt = new SeatingArrangement();
            int    oppSeat  = 0;
            string seatType = "";

            arrangmnt.GetOppositeSeat(seatNo, ref oppSeat, ref seatType);

            Assert.AreEqual(expectedSeat, oppSeat);
            Assert.AreEqual(expectedSeatTye, seatType);
        }