MCPcopy Create free account
hub / github.com/KDE/labplot / mapCartesianToLnY

Method mapCartesianToLnY

tests/backend/Datapicker/DatapickerTest.cpp:388–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388void DatapickerTest::mapCartesianToLnY() {
389 DatapickerImage::ReferencePoints points;
390 points.type = DatapickerImage::GraphType::LnY;
391 QPointF point{5, 2.23};
392
393 Transform t;
394 VECTOR3D_EQUAL(t.mapCartesianToType(point, points), QVector3D(5, exp(2.23), 0));
395}
396
397void DatapickerTest::mapCartesianToLnXY() {
398 DatapickerImage::ReferencePoints points;

Callers

nothing calls this directly

Calls 2

QVector3DClass · 0.85
mapCartesianToTypeMethod · 0.80

Tested by

no test coverage detected