Skip to content

Commit

Permalink
improving test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanCheshire committed Oct 27, 2023
1 parent fbd7bce commit 3ca38ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void testResettingMutators() {
implementationOne.resetWidth();
assertEquals(RoboHashRequestBuilderImpl.DEFAULT_WIDTH, implementationOne.getWidth());
assertThrows(IllegalArgumentException.class, () -> implementationOne.setWidth(-1));
assertThrows(IllegalArgumentException.class, () -Ï> implementationOne.setHeight(-1));
assertThrows(IllegalArgumentException.class, () -> implementationOne.setHeight(-1));
assertThrows(IllegalArgumentException.class, () -> implementationOne.setSize(new Dimension(-1, 1)));
assertThrows(IllegalArgumentException.class, () -> implementationOne.setSize(new Dimension(1, -1)));
assertThrows(IllegalArgumentException.class, () -> implementationOne.setSize(new Dimension(-1, -1)));
Expand Down

0 comments on commit 3ca38ed

Please sign in to comment.