|
|
@@ -103,11 +103,11 @@ public:
|
|
|
|
|
|
void test_datamodel_center() const {
|
|
|
simple_rotate rdata;
|
|
|
- RenderInfo infos[3] = {{{1,2},{1,1}},{{0,3},{1,1}},{{4,3.2},{1,1}}};
|
|
|
+ RenderInfo infos[3] = {{{1,2},{1,1}},{{0,3},{1,1}},{{4,3.2f},{1,1}}};
|
|
|
rdata.push_back(infos[0]);
|
|
|
rdata.push_back(infos[1]);
|
|
|
rdata.push_back(infos[2]);
|
|
|
- TS_ASSERT_EQUALS(rdata.get(access_t(RenderInfo, center){}), (std::vector<Point>{{1,2},{0,3},{4,3.2}}));
|
|
|
+ TS_ASSERT_EQUALS(rdata.get(access_t(RenderInfo, center){}), (std::vector<Point>{{1,2},{0,3},{4,3.2f}}));
|
|
|
}
|
|
|
|
|
|
void test_datamodel_multiproxy() const {
|