Skip to content

Commit 7c9835f

Browse files
committed
Add changelog + fix unittests
1 parent f5924df commit 7c9835f

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Added
6+
7+
- Add 'isContiguous' property for dimension series
8+
59
## [0.16.0] - 2024-11-28
610

711
### Fixed

test/unit/chart/events.cpp

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ auto testcase_0 = [](Vizzu::Data::DataTable &table)
6060
{
6161
table.addColumn("Index",
6262
std::initializer_list<const char *>{},
63-
std::initializer_list<std::uint32_t>{});
63+
std::initializer_list<std::uint32_t>{},
64+
false);
6465
table.addColumn("x", "", std::initializer_list<double>{});
6566
table.addColumn("y", "", std::initializer_list<double>{});
6667
};
@@ -69,13 +70,16 @@ auto testcase_1 = [](Vizzu::Data::DataTable &table)
6970
{
7071
table.addColumn("Dim5",
7172
{{"A", "B", "C", "D", "E"}},
72-
{{0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4}});
73+
{{0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4}},
74+
false);
7375
table.addColumn("Dim2",
7476
{{"a", "b"}},
75-
{{0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1}});
77+
{{0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1}},
78+
false);
7679
table.addColumn("Dim3",
7780
{{"a", "b", "c"}},
78-
{{0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 1, 0, 2, 2, 1, 0}});
81+
{{0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 1, 0, 2, 2, 1, 0}},
82+
false);
7983
table.addColumn("Meas1",
8084
"",
8185
{{1, 2, 4, 3, 3, 4, 2, 1, 4, 3, 1, 2, 2, 1, 3, 4}});
@@ -140,7 +144,8 @@ break)",
140144
2,
141145
2,
142146
2,
143-
2}});
147+
2}},
148+
false);
144149

145150
table.addColumn("Childs of long names which have no end",
146151
{{"Very long label of this element",
@@ -196,7 +201,8 @@ break)",
196201
8,
197202
9,
198203

199-
}});
204+
}},
205+
false);
200206

201207
table.addColumn("値3",
202208
"",

0 commit comments

Comments
 (0)