Ejemplo n.º 1
0
        public void TestMethod5()
        {
            sockPairs sock     = new sockPairs();
            int       actual   = sock.totalSocks(5);
            int       expected = 5;

            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
        public void TestMethod4()
        {
            sockPairs  sock     = new sockPairs();
            List <int> sockList = new List <int>()
            {
                0, -1, 2, 4, 3
            };
            int actual   = sock.findDuplicates(sockList);
            int expected = -1;

            Assert.AreEqual(expected, actual);
        }