diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-12-29 16:46:48 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-12-29 16:46:48 +0000 |
commit | dc672a3488ec1d665fa898ced401e40ebc609bf8 (patch) | |
tree | 2afbb343d04df43cf226d6e889012f43296c38a8 /test | |
parent | Remove misleading power operator^ on vec2/3 (diff) | |
download | ilt-dc672a3488ec1d665fa898ced401e40ebc609bf8.tar.bz2 ilt-dc672a3488ec1d665fa898ced401e40ebc609bf8.tar.xz ilt-dc672a3488ec1d665fa898ced401e40ebc609bf8.zip |
Templatise functions in maths.h using PositionND
Diffstat (limited to 'test')
-rw-r--r-- | test/test-maths.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-maths.cpp b/test/test-maths.cpp index 3f8c2a0..ede884d 100644 --- a/test/test-maths.cpp +++ b/test/test-maths.cpp @@ -171,7 +171,8 @@ BOOST_DATA_TEST_CASE(test_find_arc_centre, BOOST_AUTO_TEST_CASE(test_find_arcs_radius) { - BOOST_CHECK_CLOSE(find_arcs_radius({10.32, 26.71}, {0.4, .92}, {2.92, 22.41}, {-0.89, -0.45}), 2.29, 1); + BOOST_CHECK_CLOSE( + find_arcs_radius(RelativePosition2D {10.32, 26.71}, {0.4, .92}, {2.92, 22.41}, {-0.89, -0.45}), 2.29, 1); } struct TestLinkStraight : public LinkStraight { |