public void OneColOneRowReturnsOneCell() { var slicer = new Slicer(1, 1); var slices = slicer.Slice(); Assert.That(slices.Count, Is.EqualTo(1)); Assert.IsTrue(slices[0][0]); }
public void OneColTwoRowsReturnsThreeCells() { var slicer = new Slicer(1, 2); var slices = slicer.Slice(); Assert.That(slices.Count, Is.EqualTo(3)); Assert.IsTrue(slices[0][0]); Assert.IsFalse(slices[0][1]); Assert.IsFalse(slices[1][0]); Assert.IsTrue(slices[1][1]); Assert.IsTrue(slices[2][0]); Assert.IsTrue(slices[2][1]); }