rubenada commented on a change in pull request #2007:
URL: https://github.com/apache/calcite/pull/2007#discussion_r436573603



##########
File path: 
core/src/test/java/org/apache/calcite/util/graph/DirectedGraphTest.java
##########
@@ -215,6 +215,35 @@
     assertEquals("[D, E]", frozenGraph.getShortestPath("D", "E").toString());
   }
 
+  @Test void testDistances() {
+    //       B -> C

Review comment:
       May I suggest another formatting to make it clearer that all edges are 
directed? e.g.:
   ```
   // A+-->B+-->C+-->E
   // +              ^
   // |              |
   // +----->D+------+
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to