Skip to content

Commit

Permalink
Test for #61
Browse files Browse the repository at this point in the history
  • Loading branch information
weisJ committed Feb 25, 2024
1 parent febc050 commit ee9ddf3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jsvg/src/test/java/com/github/weisj/jsvg/FilterTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2021-2023 Jannis Weis
* Copyright (c) 2021-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
Expand Down Expand Up @@ -109,4 +109,9 @@ void testOutOfBounds() {
assertDoesNotThrow(() -> render("filter/outOfBoundsHidden.svg"));
assertEquals(SUCCESS, compareImages("filter/outOfBoundsHidden.svg"));
}

@Test
void testFilterOnRoot() {
assertEquals(SUCCESS, compareImages("filter/filterOnRoot_bug61.svg"));
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ee9ddf3

Please sign in to comment.