Example #1
0
 public void Split_WhenRangeToBig_ShouldThrow(Input type, string filePath, int fromIndex, int toIndex)
 {
     Assert.Throws <DocnetException>(() => _fixture.Split(type, filePath, fromIndex, toIndex));
 }
Example #2
0
 public void Split_WhenCalledWithInvalidIndex_ShouldThrow(Input type, int fromIndex, int toIndex)
 {
     Assert.Throws <ArgumentException>(() => _fixture.Split(type, "Docs/simple_0.pdf", fromIndex, toIndex));
 }