From 0c41444d40f6aa61dc9cdf339ea29fa3c2e7f75f Mon Sep 17 00:00:00 2001 From: jimingquan Date: Thu, 1 Apr 2021 18:52:12 +0800 Subject: [PATCH] add testcase --- tests/tck/features/path/ShortestPath.feature | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/tck/features/path/ShortestPath.feature b/tests/tck/features/path/ShortestPath.feature index 084dd104b..d0911d5ad 100644 --- a/tests/tck/features/path/ShortestPath.feature +++ b/tests/tck/features/path/ShortestPath.feature @@ -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: """