Refactor jet_tests.cc

1. Break tests for one function into its own TEST instance.
2. Use a gmock matcher which gives better logging, previously
   we were using a function which in turn used another function
   in test_utils. It made tracking down the failing test very
   hard.
3. Disable a hypot3 underflow and overflow test when using
   libc++ as the three argument in libc++ is borked.
4. The use of the matcher has made a number of comments redundant
   so I have removed them.

This is the first step in cleaning up these tests and then expanding
them.

Change-Id: Ib0c827f44432e2496e50b8cda3e06c26bdf50f08
1 file changed
tree: aef9a7288efbdb2750a4ea74e4b97d11720ed6a6
  1. bazel/
  2. cmake/
  3. config/
  4. data/
  5. docs/
  6. examples/
  7. include/
  8. internal/
  9. scripts/
  10. travis/
  11. .clang-format
  12. .gitignore
  13. .travis.yml
  14. BUILD
  15. CMakeLists.txt
  16. CONTRIBUTING.md
  17. LICENSE
  18. package.xml
  19. README.md
  20. WORKSPACE
README.md

Build Status

Ceres Solver

Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.

  1. Non-linear Least Squares problems with bounds constraints.
  2. General unconstrained optimization problems.

Please see ceres-solver.org for more information.