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 b0888d2 commit aedcca1
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,16 @@ void testEmptyInput() {
Assertions.assertTrue(result);
}

@Test
void testEmptyChildrenList() {
final boolean result = this.testMapping(
Collections.singletonList(new ChildDescriptor("A", true)),
Collections.emptyList(),
true
);
Assertions.assertTrue(result);
}

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

0 comments on commit aedcca1

Please sign in to comment.