mirror of
https://github.com/google/pebble.git
synced 2025-11-26 09:12:23 -05:00
Import of the watch repository from Pebble
This commit is contained in:
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-001.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-001.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(isNaN(Math.ceil(NaN)));
|
||||
16
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-002.js
vendored
Normal file
16
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-002.js
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
var res = 1 / Math.ceil(+0)
|
||||
assert(res === +Infinity && res !== -Infinity);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-003.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-003.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(1/Math.ceil(-0) === -Infinity);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-004.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-004.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(Math.ceil(-Infinity) === -Infinity);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-005.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-005.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(Math.ceil(Infinity) === Number.POSITIVE_INFINITY);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-006.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-006.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(1/Math.ceil(-0.3) === -Infinity);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-007.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-007.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert (Math.ceil(-1.3) === -1);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-008.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-008.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert (Math.ceil(-1.9) === -1);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-009.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-009.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert (Math.ceil(1.9) === 2);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-010.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-010.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert (Math.ceil(1.1) === 2);
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-011.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-011.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(isNaN(Math.ceil("NaN")));
|
||||
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-012.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-012.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(isNaN(Math.ceil(new Object())));
|
||||
Reference in New Issue
Block a user