Skip to content

Commit c0348e1

Browse files
committed
chore(lint): formatting fixes
1 parent 99864bd commit c0348e1

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

algorithms/greedy/gas_stations/test_gas_stations.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@
55

66

77
class CanCompleteCircuitTestCase(unittest.TestCase):
8-
@parameterized.expand([
9-
([1,2,3,4,5],[3,4,5,1,2],3),
10-
([2,3,4],[3,4,3],-1),
11-
([1, 2],[2,1],1),
12-
])
8+
@parameterized.expand(
9+
[
10+
([1, 2, 3, 4, 5], [3, 4, 5, 1, 2], 3),
11+
([2, 3, 4], [3, 4, 3], -1),
12+
([1, 2], [2, 1], 1),
13+
]
14+
)
1315
def test_can_complete_circuit(self, gas: List[int], cost: List[int], expected: int):
1416
actual = can_complete_circuit(gas, cost)
1517
self.assertEqual(expected, actual)
1618

19+
1720
if __name__ == "__main__":
1821
unittest.main()

0 commit comments

Comments
 (0)