11import  org .junit .jupiter .api .Disabled ;
2+ import  org .junit .jupiter .api .DisplayName ;
23import  org .junit .jupiter .api .Test ;
34
45
1213public  class  RelativeDistanceTest  {
1314
1415    @ Test 
16+     @ DisplayName ("Direct parent-child relation" )
1517    public  void  testDirectParentChildRelation () {
1618        Map <String , List <String >> familyTree  = new  HashMap <>() {
1719            {
@@ -26,6 +28,7 @@ public void testDirectParentChildRelation() {
2628
2729    @ Disabled ("Remove to run test" )
2830    @ Test 
31+     @ DisplayName ("Sibling relationship" )
2932    public  void  testSiblingRelationship () {
3033        Map <String , List <String >> familyTree  = new  HashMap <>() {
3134            {
@@ -39,6 +42,7 @@ public void testSiblingRelationship() {
3942
4043    @ Disabled ("Remove to run test" )
4144    @ Test 
45+     @ DisplayName ("Two degrees of separation, grandchild" )
4246    public  void  testTwoDegreesOfSeparationGrandchild () {
4347        Map <String , List <String >> familyTree  = new  HashMap <>() {
4448            {
@@ -53,6 +57,7 @@ public void testTwoDegreesOfSeparationGrandchild() {
5357
5458    @ Disabled ("Remove to run test" )
5559    @ Test 
60+     @ DisplayName ("Unrelated individuals" )
5661    public  void  testUnrelatedIndividuals () {
5762        Map <String , List <String >> familyTree  = new  HashMap <>() {
5863            {
@@ -67,6 +72,7 @@ public void testUnrelatedIndividuals() {
6772
6873    @ Disabled ("Remove to run test" )
6974    @ Test 
75+     @ DisplayName ("Complex graph, cousins" )
7076    public  void  testComplexGraphCousins () {
7177        Map <String , List <String >> familyTree  = new  HashMap <>() {
7278            {
@@ -131,6 +137,7 @@ public void testComplexGraphCousins() {
131137
132138    @ Disabled ("Remove to run test" )
133139    @ Test 
140+     @ DisplayName ("Complex graph, no shortcut, far removed nephew" )
134141    public  void  testComplexGraphNoShortcutFarRemovedNephew () {
135142        Map <String , List <String >> familyTree  = new  HashMap <>() {
136143            {
@@ -194,6 +201,7 @@ public void testComplexGraphNoShortcutFarRemovedNephew() {
194201
195202    @ Disabled ("Remove to run test" )
196203    @ Test 
204+     @ DisplayName ("Complex graph, some shortcuts, cross-down and cross-up, cousins several times removed, with unrelated family tree" )
197205    public  void  testComplexGraphSomeShortcutsCrossDownAndCrossUpCousinsSeveralTimesRemovedWithUnrelatedFamilyTree () {
198206        Map <String , List <String >> familyTree  = new  HashMap <>() {
199207            {
0 commit comments