OLD | NEW |
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
4 * | 4 * |
5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
9 * | 9 * |
10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 "-\"999\\t\"", | 659 "-\"999\\t\"", |
660 -999, | 660 -999, |
661 -"999\t" ); | 661 -"999\t" ); |
662 | 662 |
663 new TestCase( SECTION, | 663 new TestCase( SECTION, |
664 "-\"-Infinity\"", | 664 "-\"-Infinity\"", |
665 Infinity, | 665 Infinity, |
666 -"-Infinity" ); | 666 -"-Infinity" ); |
667 | 667 |
668 new TestCase( SECTION, | 668 new TestCase( SECTION, |
669 "-\"-infinity\"", | |
670 NaN, | |
671 -"-infinity" ); | |
672 | |
673 | |
674 new TestCase( SECTION, | |
675 "-\"+Infinity\"", | 669 "-\"+Infinity\"", |
676 -Infinity, | 670 -Infinity, |
677 -"+Infinity" ); | 671 -"+Infinity" ); |
678 | 672 |
679 new TestCase( SECTION, | 673 new TestCase( SECTION, |
680 "-\"+Infiniti\"", | 674 "-\"+Infiniti\"", |
681 NaN, | 675 NaN, |
682 -"+Infiniti" ); | 676 -"+Infiniti" ); |
683 | 677 |
684 new TestCase( SECTION, | 678 new TestCase( SECTION, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 -"1e-" ); | 728 -"1e-" ); |
735 | 729 |
736 new TestCase( SECTION, | 730 new TestCase( SECTION, |
737 "-\"1e-1\"", | 731 "-\"1e-1\"", |
738 -0.1, | 732 -0.1, |
739 -"1e-1" ); | 733 -"1e-1" ); |
740 | 734 |
741 test(); | 735 test(); |
742 | 736 |
743 | 737 |
OLD | NEW |