Add tests for PrimitiveFloatArraySubject empty/null and out-of-range exact-equality cases

Adds 8 tests for `PrimitiveFloatArraySubject` covering isEmpty/isNotEmpty success and failure paths, null-array failures for `usingExactEquality` and `usingTolerance`, and the IllegalArgumentException messages produced when an out-of-range negative int or long is passed to `usingExactEquality().contains()`. Tests use Truth's own assertThat/expectFailure idiom and assert on concrete failure facts.

| metric | before | after |
|---|---|---|
| mutation score | 79% | 97% |
| test methods added | n/a | 8 |

The additions are append-only (no existing test is modified) and pass against the current code.

---

**How this was produced**

This PR was generated with an AI-assisted pipeline built around mutation testing (PIT). The pipeline mutates the target class (flipping conditions and changing boundary/edge cases) and runs the existing tests against each mutant. Where a mutant survives (the existing tests do not catch that edge case), it writes a focused test for that case and reruns PIT to confirm the new test actually kills that specific mutant. So every added test is verified to catch a concrete edge case the suite missed before, rather than being speculative or redundant. The change is additive only (no production code modified), and the module builds green under its CI JDK.

Fixes https://github.com/google/truth/pull/1670

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/truth/pull/1670 from vasiliy-mikhailov:add-PrimitiveFloatArraySubject-tests a747fc614c8ae73f6415c3e6ede0869d2c770fe5
PiperOrigin-RevId: 943375672
1 file changed
tree: 157cfdadda49485234b61bd7e5e84401cbcaa39f
  1. .github/
  2. core/
  3. extensions/
  4. javadoc-link/
  5. refactorings/
  6. util/
  7. .gitignore
  8. CONTRIBUTING.md
  9. LICENSE
  10. overview.html
  11. pom.xml
  12. README.md
README.md

Main Site Build Status Maven Release Stackoverflow

What is Truth?

Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.

Truth is owned and maintained by the Guava team. It is used in the majority of the tests in Google’s own codebase.

Read more at the main website.