OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are met: |
7 // 1. Redistributions of source code must retain the above copyright | 7 // 1. Redistributions of source code must retain the above copyright |
8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
9 // 2. Redistributions in binary form must reproduce the above copyright | 9 // 2. Redistributions in binary form must reproduce the above copyright |
10 // notice, this list of conditions and the following disclaimer in the | 10 // notice, this list of conditions and the following disclaimer in the |
(...skipping 63 matching lines...) Loading... |
74 shouldBe("parseFloat(illegalUTF16Sequence + '1')", "NaN"); | 74 shouldBe("parseFloat(illegalUTF16Sequence + '1')", "NaN"); |
75 shouldBe("parseFloat(tab + '1')", "1"); | 75 shouldBe("parseFloat(tab + '1')", "1"); |
76 shouldBe("parseFloat(nbsp + '1')", "1"); | 76 shouldBe("parseFloat(nbsp + '1')", "1"); |
77 shouldBe("parseFloat(ff + '1')", "1"); | 77 shouldBe("parseFloat(ff + '1')", "1"); |
78 shouldBe("parseFloat(vt + '1')", "1"); | 78 shouldBe("parseFloat(vt + '1')", "1"); |
79 shouldBe("parseFloat(cr + '1')", "1"); | 79 shouldBe("parseFloat(cr + '1')", "1"); |
80 shouldBe("parseFloat(lf + '1')", "1"); | 80 shouldBe("parseFloat(lf + '1')", "1"); |
81 shouldBe("parseFloat(ls + '1')", "1"); | 81 shouldBe("parseFloat(ls + '1')", "1"); |
82 shouldBe("parseFloat(ps + '1')", "1"); | 82 shouldBe("parseFloat(ps + '1')", "1"); |
83 shouldBe("parseFloat(oghamSpaceMark + '1')", "1"); | 83 shouldBe("parseFloat(oghamSpaceMark + '1')", "1"); |
84 shouldBe("parseFloat(mongolianVowelSeparator + '1')", "1"); | 84 shouldBe("parseFloat(mongolianVowelSeparator + '1')", "NaN"); |
85 shouldBe("parseFloat(enQuad + '1')", "1"); | 85 shouldBe("parseFloat(enQuad + '1')", "1"); |
86 shouldBe("parseFloat(emQuad + '1')", "1"); | 86 shouldBe("parseFloat(emQuad + '1')", "1"); |
87 shouldBe("parseFloat(enSpace + '1')", "1"); | 87 shouldBe("parseFloat(enSpace + '1')", "1"); |
88 shouldBe("parseFloat(emSpace + '1')", "1"); | 88 shouldBe("parseFloat(emSpace + '1')", "1"); |
89 shouldBe("parseFloat(threePerEmSpace + '1')", "1"); | 89 shouldBe("parseFloat(threePerEmSpace + '1')", "1"); |
90 shouldBe("parseFloat(fourPerEmSpace + '1')", "1"); | 90 shouldBe("parseFloat(fourPerEmSpace + '1')", "1"); |
91 shouldBe("parseFloat(sixPerEmSpace + '1')", "1"); | 91 shouldBe("parseFloat(sixPerEmSpace + '1')", "1"); |
92 shouldBe("parseFloat(figureSpace + '1')", "1"); | 92 shouldBe("parseFloat(figureSpace + '1')", "1"); |
93 shouldBe("parseFloat(punctuationSpace + '1')", "1"); | 93 shouldBe("parseFloat(punctuationSpace + '1')", "1"); |
94 shouldBe("parseFloat(thinSpace + '1')", "1"); | 94 shouldBe("parseFloat(thinSpace + '1')", "1"); |
95 shouldBe("parseFloat(hairSpace + '1')", "1"); | 95 shouldBe("parseFloat(hairSpace + '1')", "1"); |
96 shouldBe("parseFloat(narrowNoBreakSpace + '1')", "1"); | 96 shouldBe("parseFloat(narrowNoBreakSpace + '1')", "1"); |
97 shouldBe("parseFloat(mediumMathematicalSpace + '1')", "1"); | 97 shouldBe("parseFloat(mediumMathematicalSpace + '1')", "1"); |
98 shouldBe("parseFloat(ideographicSpace + '1')", "1"); | 98 shouldBe("parseFloat(ideographicSpace + '1')", "1"); |
OLD | NEW |