Exemplo n.º 1
0
 public void ArrayAbsurdity()
 {
     var input = new[] {"5;0,1,2,3,0", "20; 0,1,10,3,2,4,5,7,6,8,11,9,15,12,13,4,16,18,17,14"};
     var expected = new[] {"0", "4"};
     var result = new ArrayAbsurdity(input).Run();
     AssertExtensions.AreEqual(expected,result);
 }
Exemplo n.º 2
0
        public void ArrayAbsurdity()
        {
            var input    = new[] { "5;0,1,2,3,0", "20; 0,1,10,3,2,4,5,7,6,8,11,9,15,12,13,4,16,18,17,14" };
            var expected = new[] { "0", "4" };
            var result   = new ArrayAbsurdity(input).Run();

            AssertExtensions.AreEqual(expected, result);
        }