summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.