github.com/hzck/speedroute@v0.0.0-20201115191102-403b7d0e443f/algorithm/tests/rewards/minus_rewards_not_possible.json (about) 1 { 2 "name": "Minus rewards not possible", 3 "description": "A minus reward on the shortest path which cannot been acquired.", 4 "testing": "Minus rewards path is not possible to take.", 5 "visual": "START->END(10ms), START->1, 1->END", 6 "rewards": [ 7 { 8 "id": "A" 9 } 10 ], 11 "nodes": [ 12 { 13 "id": "START" 14 }, 15 { 16 "id": "END" 17 }, 18 { 19 "id": "1", 20 "rewards": [ 21 { 22 "rewardId": "A", 23 "quantity": -1 24 } 25 ] 26 } 27 ], 28 "edges": [ 29 { 30 "from": "START", 31 "to": "1" 32 }, 33 { 34 "from": "1", 35 "to": "END" 36 }, 37 { 38 "from": "START", 39 "to": "END" 40 } 41 ], 42 "startId": "START", 43 "endId": "END" 44 }