1
0
Fork 0

ported changes to the GraphCleaningFunctionsTest from 8de9788308

This commit is contained in:
Claudio Atzori 2022-01-27 16:19:14 +01:00
parent 4fc44edb71
commit af61e44acc
1 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ public class GraphCleaningFunctionsTest {
} }
@Test @Test
void testFilter_false() throws Exception { void testFilter_invisible_true() throws Exception {
assertNotNull(vocabularies); assertNotNull(vocabularies);
assertNotNull(mapping); assertNotNull(mapping);
@ -87,11 +87,11 @@ public class GraphCleaningFunctionsTest {
assertTrue(p_in instanceof Result); assertTrue(p_in instanceof Result);
assertTrue(p_in instanceof Publication); assertTrue(p_in instanceof Publication);
assertEquals(false, GraphCleaningFunctions.filter(p_in)); assertEquals(true, GraphCleaningFunctions.filter(p_in));
} }
@Test @Test
void testFilter_true() throws Exception { void testFilter_true_nothing_to_filter() throws Exception {
assertNotNull(vocabularies); assertNotNull(vocabularies);
assertNotNull(mapping); assertNotNull(mapping);