mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-19 07:50:43 +01:00
Tests for flexibleFloat and flexibleInt custom JSON unmarshalers that handle PMG API responses where numeric values may arrive as numbers, strings, or nulls. 64 test cases covering: - JSON numbers (integers, floats, scientific notation, negatives) - String values (numeric strings, empty, whitespace, "null") - JSON null values - Error cases (invalid strings, arrays, objects, booleans) - Boundary values (max/min float64) - Real PMG response patterns (mail stats, queue status) - Struct embedding behavior