Logo
Explore Help
Register Sign In
zjk/googletest
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
v1.16.x
googletest/docs/reference
T
History
Abseil Team 62df7bdbc1 This change adjusts how ASSERT_NEAR and EXPECT_NEAR treats infinity, such that ASSERT_NEAR(inf, inf, 0) passes. This makes the behavior more consistent with ASSERT_EQ(inf, inf) which succeeds.
Some examples of asserts that now pass:
```
ASSERT_NEAR(inf, inf, 0)
ASSERT_NEAR(-inf, inf, inf)
ASSERT_NEAR(inf, x, inf)  // x is any finite floating point value
```

PiperOrigin-RevId: 685748133
Change-Id: I7b3af377773e8e0031e4c6b86830cbbf76bf20c6
2024-10-14 10:13:58 -07:00
..
actions.md
fix typos
2021-06-13 19:53:04 +09:00
assertions.md
This change adjusts how ASSERT_NEAR and EXPECT_NEAR treats infinity, such that ASSERT_NEAR(inf, inf, 0) passes. This makes the behavior more consistent with ASSERT_EQ(inf, inf) which succeeds.
2024-10-14 10:13:58 -07:00
matchers.md
Add support for the alternative base64 encoding in RFC 4648 section 5 to WhenBase64Unescaped.
2023-02-06 11:00:05 -08:00
mocking.md
Revert incorrect update.
2024-02-22 08:48:24 -08:00
testing.md
Mention the optional third argument to TYPED_TEST_SUITE
2024-05-28 07:42:39 -07:00
Powered by Gitea Version: 27.3.4 Page: 18ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API