File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/test/java/com/example Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Expected Command-Line Arguments:
4444
4545* --zone SE1|SE2|SE3|SE4 (required)
4646* --date YYYY-MM-DD (optional, defaults to current date)
47- * --sorted (optional, to display prices in ascending order)
47+ * --sorted (optional, to display prices in descending order)
4848* --charging 2h|4h|8h (optional, to find optimal charging windows)
4949* --help (optional, to display usage information)
5050
Original file line number Diff line number Diff line change @@ -170,13 +170,13 @@ void displaySortedPrices_whenRequested() {
170170
171171 // Expected sorted output (ascending by price)
172172 List <String > expectedOrder = List .of (
173- "21-22 10,00 öre" ,
174- "23-00 10,00 öre" ,
175- "00-01 10,00 öre" ,
173+ "20-21 30,00 öre" ,
174+ "22-23 20,00 öre" ,
176175 "01-02 15,00 öre" ,
177176 "02-03 15,00 öre" ,
178- "22-23 20,00 öre" ,
179- "20-21 30,00 öre"
177+ "21-22 10,00 öre" ,
178+ "23-00 10,00 öre" ,
179+ "00-01 10,00 öre"
180180 );
181181
182182 // Extract actual lines that match the pattern
You can’t perform that action at this time.
0 commit comments