public void GivenSortOnThirdColumn_WhenSortingIsDone_ThenOrderShouldBe54321()
        {
            // Arrange
            var testRunner = new CsvTestRunner(2, ',', Environment.NewLine);

            // Act
            var result = testRunner.RunTest(first, second, third, fourth, fifth);

            // Assert
            Assert.AreEqual(fifth, result[0]);
            Assert.AreEqual(fourth, result[1]);
            Assert.AreEqual(third, result[2]);
            Assert.AreEqual(second, result[3]);
            Assert.AreEqual(first, result[4]);
        }
        public void GivenColumnsAreSeparatedByPipes_WhenSorting_ThenTheOutputShouldHaveCorrectSorting()
        {
            // Arrange
            var first  = "1|C|b";
            var second = "2|B|a";
            var third  = "3|A|c";

            _testRunner = new CsvTestRunner(2, '|', Environment.NewLine);

            // Act
            var result = _testRunner.RunTest(first, second, third);

            // Assert
            Assert.AreEqual(second, result[0]);
            Assert.AreEqual(first, result[1]);
            Assert.AreEqual(third, result[2]);
        }
 public void Setup()
 {
     _testRunner = new CsvTestRunner(0, ',', Environment.NewLine);
 }