Exemple #1
0
        public void TwoSocksSameColour_Pair()
        {
            var inputArray = new string[] { "red", "red" };
            var result     = SockPairer.Process(inputArray);

            Assert.AreEqual(1, result);
        }
Exemple #2
0
        public void OneSock_NotPaired()
        {
            var inputArray = new string[] { "red" };
            var result     = SockPairer.Process(inputArray);

            Assert.AreEqual(0, result);
        }