Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get something of octonion tested #1087

Merged
merged 7 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/boost/math/octonion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,8 @@ namespace boost

#undef BOOST_OCTONION_NOT_EQUAL_GENERATOR

// LCOV_EXCL_START
// Something like 2,100 lines of input-streaming up to line 3,800 and beyond.

// Note: the default values in the constructors of the complex and quaternions make for
// a very complex and ambiguous situation; we have made choices to disambiguate.
Expand Down Expand Up @@ -3843,6 +3845,7 @@ namespace boost
finish:
return(is);
}
// LCOV_EXCL_STOP


template<typename T, typename charT, class traits>
Expand Down
1 change: 1 addition & 0 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,7 @@ test-suite misc :
[ run compile_test/interpolators_barycentric_rational_incl_test.cpp compile_test_main : : : [ requires cxx11_smart_ptr cxx11_defaulted_functions cxx11_auto_declarations cxx11_unified_initialization_syntax ] [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : <build>no ] ]
[ run octonion_test.cpp
../../test/build//boost_unit_test_framework ]
[ run octonion_test_simple.cpp ]
[ run quaternion_constexpr_test.cpp ]
[ run quaternion_test.cpp
../../test/build//boost_unit_test_framework : : : <toolset>msvc-14.0:<debug-symbols>off [ check-target-builds ../config//has_float128 "GCC libquadmath and __float128 support" : <linkflags>-lquadmath ] ]
Expand Down
4 changes: 3 additions & 1 deletion test/octonion_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

#include <iomanip>


#include <boost/mpl/list.hpp>

#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_log.hpp>

#include <boost/math/octonion.hpp>

// LCOV_EXCL_START

template<typename T>
struct string_type_name;
Expand Down Expand Up @@ -773,3 +773,5 @@ boost::unit_test::test_suite * init_unit_test_suite(int, char *[])
}

#undef DEFINE_TYPE_NAME

// LCOV_EXCL_STOP
Loading