示例#1
0
        public void seatingTest3()
        {
            PartySeats_Accessor target = new PartySeats_Accessor();

            string[] attendees = { "JOHN boy", "CARLA girl" };
            string[] expected  = { };
            string[] actual;
            actual = target.seating(attendees);
            CollectionAssert.AreEqual(expected, actual);
        }
示例#2
0
        public void seatingTest1()
        {
            PartySeats_Accessor target = new PartySeats_Accessor();

            string[] attendees = { "BOB boy", "SAM girl", "DAVE boy", "JO girl" };
            string[] expected  = { "HOST", "JO", "BOB", "HOSTESS", "DAVE", "SAM" };
            string[] actual;
            actual = target.seating(attendees);
            CollectionAssert.AreEqual(expected, actual);
        }