public void ValidaChunkingArrayAreEqualThree() { ChunkArray chunk = new ChunkArray(); int[] array = new int[] { 1, 2, 3, 4, 5 }; int result = chunk.ChunkingArray(array, 2); Assert.AreEqual(3, result); }
public void ValidaChunkingArrayAreEqualThreeSecondExample() { ChunkArray chunk = new ChunkArray(); int[] array = new int[] { 1, 2, 3, 4, 5, 6, 7, 8 }; int result = chunk.ChunkingArray(array, 3); Assert.AreEqual(3, result); }
public void ValidaChunkingArrayAreEqualTwoSecondExample() { ChunkArray chunk = new ChunkArray(); int[] array = new int[] { 1, 2, 3, 4, 5 }; int result = chunk.ChunkingArray(array, 4); Assert.AreEqual(2, result); }