| 440 | } |
| 441 | |
| 442 | void DatapickerTest::mapCartesianToPolarInRadians() { |
| 443 | DatapickerImage::ReferencePoints points; |
| 444 | points.type = DatapickerImage::GraphType::PolarInRadians; |
| 445 | QPointF point{5, 30}; |
| 446 | |
| 447 | Transform t; |
| 448 | VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(30.413812651491f, 1.4056476493803f, 0)); // first is radius, second theta |
| 449 | } |
| 450 | |
| 451 | // TODO: implement Ternary |
| 452 |
nothing calls this directly
no test coverage detected