Exemplo n.º 1
0
        public void ReverseGroups()
        {
            var input    = new [] { "1,2,3,4,5;2", "1,2,3,4,5;3" };
            var expected = new[] { "2,1,4,3,5", "3,2,1,4,5" };
            var result   = new ReverseGroups(input).Run();

            AssertExtensions.AreEqual(expected, result);
        }
Exemplo n.º 2
0
 public void ReverseGroups()
 {
     var input = new [] {"1,2,3,4,5;2", "1,2,3,4,5;3"};
     var expected = new[] {"2,1,4,3,5", "3,2,1,4,5"};
     var result = new ReverseGroups(input).Run();
     AssertExtensions.AreEqual(expected, result);
 }