Module:Params/testcases/tnumerical sandbox
From Kenshi Wiki
More actions
This test template allows to experiment with functions that focus on numerical and sequential arguments. As these require at most two arguments, this template uses the |#first=
and |#second=
special parameters to do its tests.
Usage
For instance,
{{module:params/testcases/tnumerical sandbox
| #first = 2
| #second = 2
| -2 = minus two
| 0 = zero
| 1 = one
| 2 = two
| 3 = three
| 19 = nineteen
| 20 = twenty
}}
generates
Function name | #first=2 and |#second=2
|
---|---|
squeezing
|
1=minus two|2=zero|3=one|4=two|5=three|6=nineteen|7=twenty |
filling_the_gaps
|
-2=minus two|-1=|0=zero|1=one|2=two|3=three|4=|5=|6=|7=|8=|9=|10=|11=|12=|13=|14=|15=|16=|17=|18=|19=nineteen|20=twenty |
clearing
|
1=one|2=two|3=three |
cutting|2|2]
|
-2=minus two|0=zero|16=nineteen|17=twenty |
cropping|2|2
|
0=zero|1=one|2=two|3=three |
purging|2|2
|
-2=minus two|0=zero|1=one|17=nineteen|18=twenty |
backpurging|2|2
|
-2=minus two|0=zero|1=three|17=nineteen|18=twenty |
rotating
|
1=twenty|2=nineteen|18=three|19=two|20=one|21=zero|23=minus two |
sorting_sequential_values
|
-2=minus two|0=zero|1=one|2=three|3=two|19=nineteen|20=twenty |