| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script> | 7 <script> |
| 8 description('Check stepMismatch results for number type'); | 8 description('Check stepMismatch results for number type'); |
| 9 | 9 |
| 10 var input = document.createElement('input'); | 10 var input = document.createElement('input'); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 debug('Fractional numbers'); | 43 debug('Fractional numbers'); |
| 44 shouldBe('stepMismatchFor("0.9", "0.1", "")', 'false'); | 44 shouldBe('stepMismatchFor("0.9", "0.1", "")', 'false'); |
| 45 shouldBe('stepMismatchFor("0.9", "0.1000001", "")', 'true'); | 45 shouldBe('stepMismatchFor("0.9", "0.1000001", "")', 'true'); |
| 46 shouldBe('stepMismatchFor("0.9", "0.1000000000000001", "")', 'false'); | 46 shouldBe('stepMismatchFor("0.9", "0.1000000000000001", "")', 'false'); |
| 47 shouldBe('stepMismatchFor("1.0", "0.3333333333333333", "")', 'false'); | 47 shouldBe('stepMismatchFor("1.0", "0.3333333333333333", "")', 'false'); |
| 48 debug('Rounding'); | 48 debug('Rounding'); |
| 49 shouldBe('stepMismatchFor("5.005", "0.005", "4")', 'false'); | 49 shouldBe('stepMismatchFor("5.005", "0.005", "4")', 'false'); |
| 50 debug('Disabled'); | 50 debug('Disabled'); |
| 51 shouldBe('stepMismatchFor("1", "2", "0", true)', 'false'); | 51 shouldBe('stepMismatchFor("1", "2", "0", true)', 'false'); |
| 52 </script> | 52 </script> |
| 53 <script src="../../../fast/js/resources/js-test-post.js"></script> | |
| 54 </body> | 53 </body> |
| 55 </html> | 54 </html> |
| OLD | NEW |