1 Check stepMismatch results for type=month.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS stepMismatchFor("", null, null) is false
8 PASS stepMismatchFor("", "2", "1969-12") is false
10 PASS stepMismatchFor("2010-03", "2", "2010-02") is true
11 PASS stepMismatchFor("2010-02", "2", "2010-02") is false
12 PASS stepMismatchFor("2010-04", "2", "2010-02") is false
13 PASS stepMismatchFor("1800-11", "3", "1800-09") is true
14 PASS stepMismatchFor("1800-09", "3", "1800-09") is false
15 PASS stepMismatchFor("1800-12", "3", "1800-09") is false
16 PASS stepMismatchFor("275760-09", "3", "275760-08") is true
17 PASS stepMismatchFor("275760-09", "2", "275760-09") is false
19 PASS stepMismatchFor("1970-02", "2", null) is true
20 PASS stepMismatchFor("1970-03", "2", null) is false
21 Fractional step values
22 PASS stepMismatchFor("2010-03", "0.1", "2010-02") is false
23 PASS stepMismatchFor("2010-03", "1.1", "2010-02") is false
24 PASS stepMismatchFor("2010-03", "1.9", "2010-02") is true
25 Invalid or no step values
26 PASS stepMismatchFor("2010-03", null, "2010-02") is false
27 PASS stepMismatchFor("2010-03", "-1", "2010-02") is false
28 PASS stepMismatchFor("2010-03", "foo", "2010-02") is false
30 PASS stepMismatchFor("2010-03", "any", "2010-02") is false
32 PASS stepMismatchFor("2010-03", "2", "2010-02", true) is false
34 PASS successfullyParsed is true