Update the expected image

I updated the expected image in the test to take into account the skipped days as well as the completed days. I also changed the test input in BarChartTest.kt to let it better represent possible cases.
pull/1736/head
Mahmoud-Ibrahim-750 2 years ago
parent e5516496fc
commit 0f1fc234da

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 15 KiB

@ -33,8 +33,8 @@ class BarChartTest {
val theme = LightTheme()
val component = BarChart(theme, fmt)
private val axis = (0..100).map { today.minus(it) }
private val series1 = listOf(200.0, 0.0, 150.0, 137.0, 0.0, 0.0, 500.0, 30.0, 100.0, 0.0, 300.0)
private val series2 = listOf(10.0, 0.0, 50.0, 0.0, 0.0, 0.0, 100.0, 0.0, 60.0, 0.0, 150.0)
private val series1 = listOf(200.0, 0.0, 150.0, 137.0, 0.0, 0.0, 500.0, 30.0, 100.0, 0.0, 300.0)
private val series2 = listOf(10.0, 50.0, 50.0, 0.0, 0.0, 0.0, 0.0, 0.0, 60.0, 0.0, 110.0)
init {
component.axis = axis

Loading…
Cancel
Save