Exemple #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);
        }
Exemple #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);
        }