Skip to content

Use ASSERT_ARRAY_NEAR macro

This pull request changes TestTools.h as follows:

  • rename ASSERT_DOUBLE_ARRAY_EQ to ASSERT_ARRAY_NEAR
  • add ASSERT_ARRAY_EQ
  • use macros instead of functions to improve readability of assertion messages

With this changes, failure messages by gtest tell us exactly where the failure happened.

Merge request reports