Your test suite comprises 53 tests, categorized as follows:
- String, Integer, Float, Boolean, DateTime values.
- Covers basic data types essential for TOML parsing and serialization.
- Homogeneous Arrays: Integer, String, Boolean arrays.
- Mixed-Type Arrays: Arrays containing multiple data types.
- Empty Arrays: Ensuring empty arrays are handled correctly.
- Basic Tables: Single-level tables with different data types.
- Inline Tables: Compact table definitions.
- Empty Tables: Handling tables without any key-value pairs.
- Nested Tables: Tables within tables for hierarchical data.
- Type-Specific Serialization: Ensures each data type serializes correctly.
- Table Serialization: Handling nested and complex table structures.
- Serialization Accuracy: Verifying the output matches expected TOML strings.
- Invalid Data Types: Testing parser's response to incorrect data types.
- Duplicate Keys: Ensuring duplicate keys are handled as per spec.
- Invalid Table Keys: Validating table key formats.
- Multiline Strings, Literal Strings: Handling different string formats.
- Numerical Formats: Integers with underscores, hexadecimal, octal, binary.
- Floating Points with Underscores: Ensuring proper parsing.
- DateTime Variants: Local dates, times, and datetime with offsets.
- Array of Tables, Dotted Table Keys: Advanced table structures.
- Infinity and NaN Handling: Parsing special floating-point values.
- Offset DateTimes: Timezone-aware datetime parsing.
- Quoted Keys, Whitespace Handling: Ensuring flexibility in key definitions and parsing.