Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
add testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 committed Apr 1, 2021
1 parent d086470 commit 0c41444
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/tck/features/path/ShortestPath.feature
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ Feature: Shortest Path
| path |
| <("Tiago Splitter")-[:like]->("Tim Duncan")-[:teammate]->("LaMarcus Aldridge")> |

Scenario: [6] SinglePair Shortest Path limit steps
When executing query:
"""
FIND SHORTEST PATH FROM "Tiago Splitter" TO "Tony Parker" OVER * UPTO 1 STEPS
"""
Then the result should be, in any order, with relax comparison:
| path |
When executing query:
"""
FIND SHORTEST PATH FROM "Tiago Splitter" TO "Tim Duncan" OVER * UPTO 1 STEPS
"""
Then the result should be, in any order, with relax comparison:
| path |
| ("Tiago Splitter")-[:like]->("Tim Duncan") |

Scenario: [1] MultiPair Shortest Path
When executing query:
"""
Expand Down

0 comments on commit 0c41444

Please sign in to comment.