1 Check stepping-up and -down for week input fields from renderer.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Function arguments are (value, min, max).
8 PASS stepUp("2000-W05", "2000-W05", "2000-W40") is "2000-W06"
9 PASS stepDown("2000-W05", "2000-W05", "2000-W40") is "2000-W40"
10 PASS stepUp("2000-W05", "2000-W02", "2000-W05") is "2000-W02"
11 PASS stepDown("2000-W05", "2000-W02", "2000-W05") is "2000-W04"
12 PASS stepUp("2000-W05", "2000-W08", "2000-W10") is "2000-W08"
13 PASS stepDown("2000-W05", "2000-W08", "2000-W10") is "2000-W10"
14 PASS stepUp("2000-W05", "2000-W03", "2000-W03") is "2000-W03"
15 PASS stepDown("2000-W05", "2000-W03", "2000-W03") is "2000-W03"
16 PASS stepUp("2000-W05", "2000-W03", "2001-W05") is "2000-W06"
17 PASS stepDown("2000-W05", "2000-W05", "2001-W08") is "2000-W04"
19 PASS stepUp("2000-W01", "2000-W01", "2009-W52") is "2001-W01"
20 PASS stepDown("2000-W01", "2000-W01", "2009-W52") is "2009-W01"
21 PASS stepUp("2000-W01", "1990-W01", "2000-W52") is "1990-W01"
22 PASS stepDown("2000-W01", "1990-W01", "2000-W52") is "1999-W01"
23 PASS stepUp("275760-W01", "1990-W01", null) is "1990-W01"
24 PASS stepDown("1990-W01", "1990-W01", null) is "275760-W01"
25 PASS stepUp("2000-W01", null, "2000-W52") is "0001-W01"
26 PASS stepDown("0001-W01", null, "2000-W52") is "2000-W01"
27 PASS stepUp("1990-W01", "2000-W01", "2009-W52") is "2000-W01"
28 PASS stepDown("1990-W01", "2000-W01", "2009-W52") is "2009-W01"
29 PASS stepUp("2020-W01", "2000-W01", "2000-W52") is "2000-W01"
30 PASS stepDown("2020-W01", "2000-W01", "2000-W52") is "2000-W01"
32 PASS successfullyParsed is true