Floating Point

What are the interesting input tests for a simple floating point field?

Floating Point

  • Nothing

  • Empty field (clear the default value)

  • Whitespace only (tab, space)

  • 0

  • Valid value

  • At lower bound (LB) of range

  • At lower bound (LB) of range − delta

  • At upper bound (UB) of range

  • At upper bound (UB) of range + delta

References