# General number

**Test family:** `NUM`

- **NUM-001** Missing/null/empty/whitespace differ from zero where domain meaning differs.
- **NUM-002** Test `-1, 0, 1`, min−unit/min/min+unit, max−unit/max/max+unit.
- **NUM-003** Test integer, fractional, excess scale, leading zeros, leading plus/minus, exponent form, grouping separators, locale decimal.
- **NUM-004** Send numeric string, boolean, array, object, NaN, positive/negative infinity through non-UI paths.
- **NUM-005** Test 32-bit/64-bit signed boundaries and JavaScript safe-integer boundary when layers use those representations.
- **NUM-006** Verify stepper/arrow/wheel/slider operations honor min/max/step and do not change accidentally during page scroll.
- **NUM-007** Rounding rule is consistent in input, display, calculation, storage, sorting, API, and export.
- **NUM-008** Copy/paste and localized display round-trip without changing magnitude.
- **NUM-009** Concurrent increments/decrements do not lose updates.
- **NUM-010** Large/precise values do not become scientific notation, overflow, wrap, or lose precision unexpectedly.

## Comprehensive per-item coverage

- **NUM-011** Exercise absent, null, empty, zero, false, ordinary, minimum, maximum, below-minimum, above-maximum, and unknown values distinctly.
- **NUM-012** Probe powers-of-two and representation boundaries around `7/8/9`, `15/16/17`, `31/32/33`, `63/64/65`, and storage-specific limits.
- **NUM-013** Use negative, fractional, high-precision, exponential, signed-zero, NaN/infinity, overflow, underflow, and rounding cases where the type can receive them.
- **NUM-014** Use labels or serialized values containing emoticons, emoji, kaomoji, accents, RTL, combining marks, confusables, and invisible characters.
- **NUM-015** Compare UI, API, import, database, cache, queue, analytics, search index, notification, and export representations; preserve one authoritative meaning.
- **NUM-016** Send wrong types, missing fields, extra fields, duplicate keys, unknown enum members, malformed encodings, and schema-version mismatches.
- **NUM-017** Bypass client min/max/step/format constraints; enforce the server and persistence contract without clipping or coercing silently.
- **NUM-018** Switch locale, numbering system, decimal/group separator, calendar, currency, time zone, and direction; separate display formatting from stored value.
- **NUM-019** Sort, filter, group, aggregate, compare, search, paginate, and chart boundary and null values; keep ordering and totals coherent.
- **NUM-020** Create and update concurrently from two sessions; prevent lost updates, duplicate identities, and stale derived values.
- **NUM-021** Retry writes and reads across timeout, disconnect, failover, and replica lag; expose stale or uncertain state rather than false certainty.
- **NUM-022** Migrate old, missing, malformed, and newly extended values forward and backward where supported; preserve auditability and rollback.
- **NUM-023** Verify permissions at field, record, tenant, export, analytics, log, cache, and backup layers; redact consistently.
- **NUM-024** Use inert markup, SQL, template, CSV-formula, path, and log canaries in any textual representation; encode for each output context.
- **NUM-025** Check accessible names, units, errors, table headers, announcements, and non-color distinctions for input and display.
- **NUM-026** Measure validation, calculation, query, sort, aggregate, import, and export behavior at normal and supported scale.
- **NUM-027** Verify derived totals, counters, scores, dates, and statuses update atomically with source data or expose reconciliation state.
- **NUM-028** Delete, restore, archive, expire, retain, and purge values; distinguish tombstone, null, zero, redaction, and absence.
- **NUM-029** Record source, actor, old/new value, unit, time, version, and reason without leaking secrets or prohibited personal data.
- **NUM-030** Reconcile after partial failure, cache corruption, duplicate message, and delayed index update; detect and repair divergence.

[Back to Numbers, money, dates, and time index](../../numbers-money-time.md)
