Example #1
0
        public void CreateMeeting_GivenListOfNames_ShouldReturnNamesInAlphabeticalOrder(string initialName, string expectedResult)
        {
            var actualResult = MeetingOrganiser.CreateMeeting(initialName);

            Assert.Equal(expectedResult, actualResult);
        }
Example #2
0
        public void Meeting_GivenASingleName_ShouldCapitaliseNameAndRemoveColon(string initialName, string expectedResult)
        {
            var actualResult = MeetingOrganiser.CreateMeeting(initialName);

            Assert.Equal(expectedResult, actualResult);
        }
Example #3
0
        public void CreateMeeting_GivenListOfNames_ShouldReturnFormattedCapitalisedNames(string initialName, string expectedResult)
        {
            var actualResult = MeetingOrganiser.CreateMeeting(initialName);

            Assert.Equal(expectedResult, actualResult);
        }