Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kniazkov committed Sep 3, 2024
1 parent aedcca1 commit 525e1c7
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,16 @@ void testEmptyChildrenList() {
Assertions.assertTrue(result);
}

@Test
void testEmptyDescriptions() {
final boolean result = this.testMapping(
Collections.emptyList(),
Collections.singletonList(new NodeDescriptor("A", 0)),
false
);
Assertions.assertTrue(result);
}

/**
* Common test for the {@link NodeAllocator} class.
* @param types The list of types
Expand Down

0 comments on commit 525e1c7

Please sign in to comment.