public void DuplicateZeroesTestCase2() { var testData = new[] { 1, 2, 3 }; DuplicateZeroes.DuplicateZeros(testData); testData.Should().ContainInOrder(new [] { 1, 2, 3 }); }
public void DuplicateZeroesTestCase1() { var testData = new[] { 1, 0, 2, 3, 0, 4, 5, 0 }; DuplicateZeroes.DuplicateZeros(testData); testData.Should().ContainInOrder(new [] { 1, 0, 0, 2, 3, 0, 0, 4 }); }