Deee92 opened a new pull request #88:
URL: https://github.com/apache/pdfbox/pull/88


   Hello,
   
   I noticed with mutation testing that the behavior of 
[`org.apache.pdfbox.pdmodel.graphics.state.RenderingMode.isFill()`](https://github.com/apache/pdfbox/blob/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/state/RenderingMode.java#L91)
 is not specified.\
   If the body of `isFill()` is replaced with `return true;` or `return 
false;`, no test fails.
   
   Here is a test case that specifies it with a new assertion.
   
   ```
   @Test
   public void testIsFill() {
      RenderingMode fillMode = RenderingMode.FILL;
      Assert.assertEquals(true, fillMode.isFill());
   }
   
   ```
   
   What do you think?
   
   Thanks! 
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to