示例#1
0
        public void FriendOrFoe_Returns_CorrectNumberOfFriends()
        {
            //arrange
            string[] expected = { "Ryan", "Mark" };
            string[] names    = { "Ryan", "Kieran", "Mark", "Jimmy" };

            //act
            var result = Kata.FriendOrFoe(names);

            //assert
            Assert.That(result, Is.EqualTo(expected));
        }