From b614fdd8a7f453f9d81342f2f515681ec227707a Mon Sep 17 00:00:00 2001 From: Danny Staple Date: Tue, 13 Dec 2022 15:52:40 +0000 Subject: [PATCH] Update unit_testing_rules.md Update the shorthand, and note the different behaviour between missing samples and numbers. Signed-off-by: Danny Staple --- docs/configuration/unit_testing_rules.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/configuration/unit_testing_rules.md b/docs/configuration/unit_testing_rules.md index 1f69dd32d..44a61fb30 100644 --- a/docs/configuration/unit_testing_rules.md +++ b/docs/configuration/unit_testing_rules.md @@ -86,7 +86,8 @@ series: # Examples: # 1. '-2+4x3' becomes '-2 2 6 10' - series starts at -2, then 3 further samples incrementing by 4. # 2. ' 1-2x4' becomes '1 -1 -3 -5 -7' - series starts at 1, then 4 further samples decrementing by 2. -# 3. ' 1 _x3 stale' becomes '1 _ _ _ stale' +# 3. ' 1x4' become '1 1 1 1' - shorthand for '1+0x4', series starts at 1, then 3 further samples incrementing by 0. +# 4. ' 1 _x3 stale' becomes '1 _ _ _ stale' - the missing sample cannot increment, so only 3 samples are produced by the '_x3' expression. values: ```