summaryrefslogtreecommitdiff
path: root/puzzle_specs_v1.md
diff options
context:
space:
mode:
authorphysick <mynameisgennadiy@vk.com>2026-08-07 19:20:19 +0500
committerphysick <mynameisgennadiy@vk.com>2026-08-07 19:20:19 +0500
commit7ec77a546f8aaa0a77c1cd1cff23f929a9fdca87 (patch)
treec323ffa1a48149030ceb0e4b3241d858a3c9cfff /puzzle_specs_v1.md
parent56f152cf57e0bd3491be74195905b863519d9fca (diff)
spec clarification
Diffstat (limited to 'puzzle_specs_v1.md')
-rw-r--r--puzzle_specs_v1.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/puzzle_specs_v1.md b/puzzle_specs_v1.md
index 360b9a3..8869b35 100644
--- a/puzzle_specs_v1.md
+++ b/puzzle_specs_v1.md
@@ -1,11 +1,12 @@
-# TEST SPECIFICATION V1
+# TEST SPECIFICATION V1.1
## Puzzles
1. Termins
The field is depicted as `(Data type) Name`.
u8 is 8-bit integer (uint8_t in C).
u32 is a 32-bit integer (uint32_t in C).
- string is a null-terminated ASCII byte array.
+ string is a null-terminated ASCII byte array.
+ - Maximum length is 8192 characters (including a null terminator).
2. Puzzles are stored in binary format. The specification for it is as follows:
+----------------------------+---------------+----------------------+
@@ -18,7 +19,7 @@
+-------------------------------------------------------------------+
The amount of the tests must be the exact same as specified in test counter.
-2. The test is a following struct:
+3. The test is a following struct:
+------------------------+---------------------------+-------------------+
| (string) Reciever name | (string) Method signature | (u32) Arg counter |
+------------------------+---------------------------+-------------------+
@@ -52,4 +53,5 @@
4.2 The list value descriptor contains the amount of elements in the list.
The following N Value descriptors will be treated as list elements.
+ The N elements that belong to the list do not count towards the total arg counter.
That is the only case where the expected output will contain more than one value.