1 Check stepping-up and -down for date 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, [keySequence]).
8 PASS stepUp("2000-05-01", "2000-05-01", "2000-10-31") is "2000-06-01"
9 PASS stepDown("2000-05-01", "2000-05-01", "2000-10-31") is "2000-10-01"
10 PASS stepUp("2000-05-01", "2000-02-01", "2000-05-31") is "2000-02-01"
11 PASS stepDown("2000-05-01", "2000-02-01", "2000-05-31") is "2000-04-01"
12 PASS stepUp("2000-05-01", "2000-08-01", "2000-10-31") is "2000-08-01"
13 PASS stepDown("2000-05-01", "2000-08-01", "2000-10-31") is "2000-10-01"
14 PASS stepUp("2000-05-01", "2000-03-01", "2000-03-31") is "2000-03-01"
15 PASS stepDown("2000-05-01", "2000-03-01", "2000-03-31") is "2000-03-01"
16 PASS stepUp("2000-05-01", "2000-03-01", "2001-05-31") is "2000-06-01"
17 PASS stepDown("2000-05-01", "2000-05-01", "2001-08-31") is "2000-04-01"
19 PASS stepUp("2000-05-10", "2000-05-10", "2000-05-20") is "2000-05-11"
20 PASS stepDown("2000-05-10", "2000-05-10", "2000-05-20") is "2000-05-20"
21 PASS stepUp("2000-05-10", "2000-05-05", "2000-05-10") is "2000-05-05"
22 PASS stepDown("2000-05-10", "2000-05-05", "2000-05-10") is "2000-05-09"
23 PASS stepUp("2000-05-10", "2000-05-20", "2000-05-30") is "2000-05-20"
24 PASS stepDown("2000-05-10", "2000-05-20", "2000-05-30") is "2000-05-30"
25 PASS stepUp("2000-05-10", "2000-05-05", "2000-05-05") is "2000-05-05"
26 PASS stepDown("2000-05-10", "2000-05-05", "2000-05-05") is "2000-05-05"
27 PASS stepUp("2000-05-10", "2000-05-05", "2001-05-10") is "2000-05-11"
28 PASS stepDown("2000-05-10", "2000-05-10", "2001-05-15") is "2000-05-09"
29 PASS stepUp("2000-05-10", "2000-05-05", "2000-06-10") is "2000-05-11"
30 PASS stepDown("2000-05-10", "2000-05-10", "2000-06-15") is "2000-05-09"
32 PASS stepUp("2000-01-01", "2000-01-01", "2009-12-31") is "2001-01-01"
33 PASS stepDown("2000-01-01", "2000-01-01", "2009-12-31") is "2009-01-01"
34 PASS stepUp("2000-01-01", "1990-01-01", "2000-12-31") is "1990-01-01"
35 PASS stepDown("2000-01-01", "1990-01-01", "2000-12-31") is "1999-01-01"
36 PASS stepUp("275760-01-01", "1990-01-01", null) is "1990-01-01"
37 PASS stepDown("1990-01-01", "1990-01-01", null) is "275760-01-01"
38 PASS stepUp("2000-01-01", null, "2000-12-31") is "0001-01-01"
39 PASS stepDown("0001-01-01", null, "2000-12-31") is "2000-01-01"
40 PASS stepUp("1990-01-01", "2000-01-01", "2009-12-31") is "2000-01-01"
41 PASS stepDown("1990-01-01", "2000-01-01", "2009-12-31") is "2009-01-01"
42 PASS stepUp("2020-01-01", "2000-01-01", "2000-12-31") is "2000-01-01"
43 PASS stepDown("2020-01-01", "2000-01-01", "2000-12-31") is "2000-01-01"
45 PASS successfullyParsed is true