• Skip to primary navigation
  • Skip to content
  • Skip to footer
EqualsVerifier by Jan Ouwens
  • /
  • Blog
  • Talks
  • EqualsVerifier

    EqualsVerifier can be used in Java unit tests to verify whether the contract for the equals and hashCode methods is met.

    • GitHub
    • Stack Overflow
    • Made by Jan Ouwens
    • Bluesky
    • Mastodon

    Float: equals doesn’t use Float.compare for field foo

    See the answer for the similar problem with Double.

    Updated: May 12, 2025

    Previous Next
    • Privacy policy
    • Climate considerations
    • Bluesky
    • Mastodon
    • GitHub
    • Feed
    © 2025 EqualsVerifier. Powered by Jekyll & Minimal Mistakes.