summaryrefslogtreecommitdiff
path: root/tests/interpretation/README.md
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-09 11:42:42 -0400
committerpommicket <pommicket@gmail.com>2025-09-09 11:42:42 -0400
commitfd62eaa814609835c87df5f24633760552ce64ea (patch)
tree6bbf1ed940bd7a977ce26cedba74049a256eb846 /tests/interpretation/README.md
parentc962ff7b730dfda801a1d9d6d3e1b2fbb9f98d2f (diff)
Add interpretation tests for (u)int, disallow -2^63 as an int
Diffstat (limited to 'tests/interpretation/README.md')
-rw-r--r--tests/interpretation/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/interpretation/README.md b/tests/interpretation/README.md
index ad18e09..b263e05 100644
--- a/tests/interpretation/README.md
+++ b/tests/interpretation/README.md
@@ -1,3 +1,14 @@
# Interpretation tests
These tests check that booleans, numbers, floats, and lists are interpreted correctly.
+
+`int.pom`, `uint.pom`, `float.pom`, `boolean.pom` — These files contain two sections,
+`[good]` and `[bad]`. The keys in `good` are in pairs `k.a` and `k.b`. Their values must
+parse to the same int/uint/float/boolean as each other.
+The values in `bad` are all invalid int/uint/float/booleans, and parsing them should
+return an error.
+
+`list.pom` — The keys in this file are in pairs `k.list` and `k.sep`.
+`k.list` is a POM list, and `k.sep` is the concatenation of `x;` for each entry
+`x` in the list (none of the entries have `;` in them, so this representation is
+unambiguous).