also update tests accordingly

This commit is contained in:
Fabian Bees
2025-02-04 10:28:07 +01:00
committed by Vincent Bernat
parent c656e1cd30
commit 9f64ffc1bb

View File

@@ -813,6 +813,14 @@ func TestGraphLineHandler(t *testing.T) {
900,
1900,
},
"last": []int{
5000,
500,
0,
0,
900,
100,
},
"average": []int{
3333,
533,
@@ -917,6 +925,20 @@ func TestGraphLineHandler(t *testing.T) {
90,
190,
},
"last": []int{
5000,
500,
0,
0,
900,
100,
500,
50,
0,
0,
90,
10,
},
"average": []int{
3333,
533,
@@ -1014,6 +1036,15 @@ func TestGraphLineHandler(t *testing.T) {
1900,
8000,
},
"last": []int{
5000,
500,
0,
0,
900,
100,
6000,
},
"average": []int{
3333,
533,
@@ -1203,6 +1234,14 @@ func TestGraphLineHandler(t *testing.T) {
900,
1900,
},
"last": []int{
5000,
0,
0,
500,
900,
100,
},
"average": []int{
3333,
400,
@@ -1307,6 +1346,20 @@ func TestGraphLineHandler(t *testing.T) {
90,
190,
},
"last": []int{
5000,
0,
0,
500,
900,
100,
500,
0,
0,
50,
90,
10,
},
"average": []int{
3333,
400,
@@ -1404,6 +1457,15 @@ func TestGraphLineHandler(t *testing.T) {
1900,
8000,
},
"last": []int{
5000,
0,
0,
500,
900,
100,
6000,
},
"average": []int{
3333,
400,