• Krystian Kuzniarek's avatar
    remove GTEST_ARRAY_SIZE_ · e0d16aa3
    Krystian Kuzniarek authored
    This macro didn't work when an array was passed to a function by pointer,
    in which case the information about its size was lost.
    Better alternatives are:
    * std::extent<T>::value (compile-time)
    * std::array<T, N>::size() (compile-time)
    * std::distance(std::begin(array), std::end(array)) (run-time)
    e0d16aa3
gmock-matchers_test.cc 219 KB