| 4 | #include "testing/testing.hpp" |
| 5 | |
| 6 | UNIT_TEST(Transformations_Shift) |
| 7 | { |
| 8 | math::Matrix<double, 3, 3> m = math::Shift(math::Identity<double, 3>(), 200.0, 100.0); |
| 9 | |
| 10 | m2::PointD pt = m2::PointD(30, 20) * m; |
| 11 | |
| 12 | TEST(pt.EqualDxDy(m2::PointD(230, 120), 1.0E-10), ()); |
| 13 | } |
| 14 | |
| 15 | UNIT_TEST(Transformations_ShiftScale) |
| 16 | { |