diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-001.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-001.js new file mode 100644 index 000000000..9e955dcf6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-001.js @@ -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 a = 1; +assert(+a === a) diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-002.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-002.js new file mode 100644 index 000000000..f064d00ae --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-002.js @@ -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 a = -1; +assert(+a === a) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-003.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-003.js new file mode 100644 index 000000000..14ba843ac --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-003.js @@ -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 a = "1"; +assert(+a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-004.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-004.js new file mode 100644 index 000000000..374d921e4 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-004.js @@ -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 a = "-1"; +assert(+a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-005.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-005.js new file mode 100644 index 000000000..181acfe40 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-005.js @@ -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 a = true; +assert(+a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-006.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-006.js new file mode 100644 index 000000000..c16e6ab78 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-006.js @@ -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 a = false; +assert(+a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-007.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-007.js new file mode 100644 index 000000000..10d7b437e --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-007.js @@ -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 a = new Number(0); +assert(+a === 0) ? 1 : 0; \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-008.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-008.js new file mode 100644 index 000000000..3df658749 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-008.js @@ -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 a = new Number(1); +assert(+a === 1) diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-009.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-009.js new file mode 100644 index 000000000..134764f96 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-009.js @@ -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 a = new Number(-1); +assert(+a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-010.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-010.js new file mode 100644 index 000000000..2c991758d --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-010.js @@ -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 a = new Boolean(true); +assert(+a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-011.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-011.js new file mode 100644 index 000000000..8255421c7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-011.js @@ -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 a = new Boolean(false); +assert(+a === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-012.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-012.js new file mode 100644 index 000000000..221570622 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-012.js @@ -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 a = new String("1"); +assert(+a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-013.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-013.js new file mode 100644 index 000000000..6d3607dfa --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-013.js @@ -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 a = new String("-1"); +assert(+a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-014.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-014.js new file mode 100644 index 000000000..12beab98a --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-014.js @@ -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 a = undefined; +assert(isNaN(+a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-015.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-015.js new file mode 100644 index 000000000..f69fe3064 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-015.js @@ -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 a = null; +assert(+a === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-016.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-016.js new file mode 100644 index 000000000..83ab9ade6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-016.js @@ -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 a = NaN; +assert(isNaN(+a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-017.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-017.js new file mode 100644 index 000000000..3efe25c27 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-017.js @@ -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 a = new String("qwerty"); +assert(isNaN(+a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-018.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-018.js new file mode 100644 index 000000000..7e5ac7320 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-018.js @@ -0,0 +1,21 @@ +// 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 a = { + valueOf: function () { + return 1; + } +} + +assert(+a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-019.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-019.js new file mode 100644 index 000000000..6c408d0c8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-019.js @@ -0,0 +1,21 @@ +// 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 a = { + valueOf: function () { + return "1"; + } +} + +assert(+a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-020.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-020.js new file mode 100644 index 000000000..dbe790e3f --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-020.js @@ -0,0 +1,21 @@ +// 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 a = { + valueOf: function () { + return -1; + } +} + +assert(+a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-021.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-021.js new file mode 100644 index 000000000..e05eb9925 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-021.js @@ -0,0 +1,20 @@ +// 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 a = new Object; +a.valueOf = function () { + return true; +} + +assert(+a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-022.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-022.js new file mode 100644 index 000000000..46d00e357 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-022.js @@ -0,0 +1,21 @@ +// 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 a = { + valueOf: function () { + return false; + } +} + +assert(+a === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-023.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-023.js new file mode 100644 index 000000000..ab8776909 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-023.js @@ -0,0 +1,21 @@ +// 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 a = { + valueOf: function () { + return "not a number"; + } +} + +assert(isNaN(+a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-024.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-024.js new file mode 100644 index 000000000..505ac6c9e --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-024.js @@ -0,0 +1,19 @@ +// 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 a = { + member: Number +} + +assert(isNaN(+a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-025.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-025.js new file mode 100644 index 000000000..112cc5a2d --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-025.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return null; + } +} +assert(+a === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-026.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-026.js new file mode 100644 index 000000000..e0da4ecdd --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-026.js @@ -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 array = [1, 2, 3, 4, 5]; +assert(isNaN(+array)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-027.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-027.js new file mode 100644 index 000000000..0d243fdef --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-027.js @@ -0,0 +1,21 @@ +// 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 a = { + toString: function () { + return "1" + } +} + +assert(+a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-028.js b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-028.js new file mode 100644 index 000000000..a5b69f98f --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.06/11.04.06-028.js @@ -0,0 +1,21 @@ +// 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 a = { + valueOf: function () { + return "" + } +} + +assert(+a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-001.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-001.js new file mode 100644 index 000000000..36dd208b8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-001.js @@ -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 a = 1; +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-002.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-002.js new file mode 100644 index 000000000..74d33bf95 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-002.js @@ -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 a = -1; +assert(-a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-003.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-003.js new file mode 100644 index 000000000..2c282b731 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-003.js @@ -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 a = "1"; +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-004.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-004.js new file mode 100644 index 000000000..f4a0a5efc --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-004.js @@ -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 a = "-1"; +assert(-a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-005.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-005.js new file mode 100644 index 000000000..260200840 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-005.js @@ -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 a = 0; +assert(-a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-006.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-006.js new file mode 100644 index 000000000..3c874c178 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-006.js @@ -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 a = "0"; +assert(-a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-007.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-007.js new file mode 100644 index 000000000..1cde7e155 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-007.js @@ -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 a = ""; +assert(-a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-008.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-008.js new file mode 100644 index 000000000..a02d270af --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-008.js @@ -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 a = true; +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-009.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-009.js new file mode 100644 index 000000000..2f6d8949d --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-009.js @@ -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 a = false; +assert(-a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-010.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-010.js new file mode 100644 index 000000000..6140692ab --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-010.js @@ -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 a = Infinity; +assert(-a === -Infinity) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-011.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-011.js new file mode 100644 index 000000000..faf6259ce --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-011.js @@ -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 a = -Infinity; +assert(-a === Infinity) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-012.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-012.js new file mode 100644 index 000000000..505d89c23 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-012.js @@ -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 a = undefined; +assert(isNaN(-a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-013.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-013.js new file mode 100644 index 000000000..de6f7044f --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-013.js @@ -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 a = null; +assert(-a === -0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-014.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-014.js new file mode 100644 index 000000000..5f28635c5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-014.js @@ -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 a = new Number(1); +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-015.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-015.js new file mode 100644 index 000000000..8e3315d33 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-015.js @@ -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 a = new Number(-1); +assert(-a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-016.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-016.js new file mode 100644 index 000000000..fd132e8e6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-016.js @@ -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 a = new Number(0); +assert(-a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-017.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-017.js new file mode 100644 index 000000000..df3f5d8e0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-017.js @@ -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 a = new String("1"); +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-018.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-018.js new file mode 100644 index 000000000..7887e131c --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-018.js @@ -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 a = new String("-1"); +assert(-a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-019.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-019.js new file mode 100644 index 000000000..0f8c38020 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-019.js @@ -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 a = new String(""); +assert(-a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-020.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-020.js new file mode 100644 index 000000000..f7274cad2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-020.js @@ -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 a = new Boolean(true); +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-021.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-021.js new file mode 100644 index 000000000..72d62d8c8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-021.js @@ -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 a = new Boolean(false); +assert(-a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-022.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-022.js new file mode 100644 index 000000000..a26452ece --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-022.js @@ -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 a = [1, 2, 3, 4, 5]; +assert(isNaN(-a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-023.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-023.js new file mode 100644 index 000000000..58f1eaa68 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-023.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return 1; + } +} +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-024.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-024.js new file mode 100644 index 000000000..86c6390bf --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-024.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return -1; + } +} +assert(-a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-025.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-025.js new file mode 100644 index 000000000..8d41c5b5b --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-025.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return true; + } +} +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-026.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-026.js new file mode 100644 index 000000000..0e2d84c3f --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-026.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return false; + } +} +assert(-a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-027.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-027.js new file mode 100644 index 000000000..359ac29c2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-027.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return null; + } +} +assert(-a === -0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-028.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-028.js new file mode 100644 index 000000000..ca73d4521 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-028.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return undefined; + } +} +assert(isNaN(-a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-029.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-029.js new file mode 100644 index 000000000..943b4e602 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-029.js @@ -0,0 +1,22 @@ +// 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 a = { + member: 1, + valueOf: function () { + return this.member; + } +} + +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-030.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-030.js new file mode 100644 index 000000000..c682f50e3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-030.js @@ -0,0 +1,19 @@ +// 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 a = { + member: 1, +} + +assert(isNaN(-a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-031.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-031.js new file mode 100644 index 000000000..5e397e919 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-031.js @@ -0,0 +1,21 @@ +// 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 a = { + valueOf: function () { + return "qwerty"; + } +} + +assert(isNaN(-a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-032.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-032.js new file mode 100644 index 000000000..32359e773 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-032.js @@ -0,0 +1,17 @@ +// 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 a = +0; + +assert(-a === -0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-033.js b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-033.js new file mode 100644 index 000000000..8de5aab49 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.07/11.04.07-033.js @@ -0,0 +1,20 @@ +// 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 a = new Object; +a.toString = function () { + return "1"; +} + +assert(-a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-001.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-001.js new file mode 100644 index 000000000..9678c6c5c --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-001.js @@ -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 a = 0; +assert(~a === -1); \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-002.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-002.js new file mode 100644 index 000000000..fa52fd1bd --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-002.js @@ -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 a = -1; +assert(~a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-003.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-003.js new file mode 100644 index 000000000..dd176717c --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-003.js @@ -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 a = 1; +assert(~a === -2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-004.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-004.js new file mode 100644 index 000000000..8427efe46 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-004.js @@ -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 a = 0x0001; +assert(~a === -0x0002) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-005.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-005.js new file mode 100644 index 000000000..72269b7ad --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-005.js @@ -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 a = NaN; +assert(~a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-006.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-006.js new file mode 100644 index 000000000..15b39c796 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-006.js @@ -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 a = +0; +assert(~a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-007.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-007.js new file mode 100644 index 000000000..a03de73d5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-007.js @@ -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 a = -0; +assert(~a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-008.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-008.js new file mode 100644 index 000000000..ba9e6c295 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-008.js @@ -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 a = +Infinity; +assert(~a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-009.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-009.js new file mode 100644 index 000000000..72c810595 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-009.js @@ -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 a = -Infinity; +assert(~a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-010.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-010.js new file mode 100644 index 000000000..3d7138c67 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-010.js @@ -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 a = 2 * 0x100000000; // to int32 -> 0 +assert(~a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-011.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-011.js new file mode 100644 index 000000000..a5967bc0a --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-011.js @@ -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 a = 0x1fffffffe; // % 0x100000000 >= 0x10000000 +assert(~a === ~(0xfffffffe)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-012.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-012.js new file mode 100644 index 000000000..185cc9963 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-012.js @@ -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 a = 0x110000000; // % 0x100000000 >= 0x10000000 +assert(~a === ~(0x10000000)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-013.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-013.js new file mode 100644 index 000000000..f9d3c9484 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-013.js @@ -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 a = 0x1fffffff; // % 0x100000000 < 0x10000000 +assert(~a === ~(0x1fffffff)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-014.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-014.js new file mode 100644 index 000000000..b90477f7e --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-014.js @@ -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 a = 0xffff; // % 0x100000000 < 0x10000000 +assert(~a === -0x10000) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-015.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-015.js new file mode 100644 index 000000000..a5c128f3c --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-015.js @@ -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 a = "1"; +assert(~a === -2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-016.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-016.js new file mode 100644 index 000000000..38685ca4f --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-016.js @@ -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 a = "Who cares?"; +assert(~a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-017.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-017.js new file mode 100644 index 000000000..71b02ea8f --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-017.js @@ -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 a = true; +assert(~a === -2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-018.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-018.js new file mode 100644 index 000000000..98325c420 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-018.js @@ -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 a = false; +assert(~a === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-019.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-019.js new file mode 100644 index 000000000..d4f21c502 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-019.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return "0x001" + } +} +assert(~a === -0x002) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-020.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-020.js new file mode 100644 index 000000000..498d0cde1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-020.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return -0x01 + } +} +assert(~a === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-021.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-021.js new file mode 100644 index 000000000..1639a6b6b --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-021.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return true + } +} +assert(~a === -2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-022.js b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-022.js new file mode 100644 index 000000000..bcb1979bb --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.08/11.04.08-022.js @@ -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 a = Number(1); +assert(~a === -2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-001.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-001.js new file mode 100644 index 000000000..5ac6cd632 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-001.js @@ -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 a = true; +assert(!a === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-002.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-002.js new file mode 100644 index 000000000..f2c3339fd --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-002.js @@ -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 a = false; +assert(!a === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-003.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-003.js new file mode 100644 index 000000000..07e9cea4b --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-003.js @@ -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 a = undefined; +assert(!a === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-004.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-004.js new file mode 100644 index 000000000..4db1af6e3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-004.js @@ -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 a = null; +assert(!a === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-005.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-005.js new file mode 100644 index 000000000..4db1af6e3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-005.js @@ -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 a = null; +assert(!a === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-006.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-006.js new file mode 100644 index 000000000..55a363dbe --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-006.js @@ -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(!(+0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-007.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-007.js new file mode 100644 index 000000000..d2020fb80 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-007.js @@ -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(!(-0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-008.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-008.js new file mode 100644 index 000000000..9c8a59d5c --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-008.js @@ -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(!(NaN) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-009.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-009.js new file mode 100644 index 000000000..22f05b763 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-009.js @@ -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(!("") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-010.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-010.js new file mode 100644 index 000000000..023496500 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-010.js @@ -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(!("anything") === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-011.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-011.js new file mode 100644 index 000000000..1be61c95f --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-011.js @@ -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 a = new Object; +assert(!a === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-012.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-012.js new file mode 100644 index 000000000..e46140bc6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-012.js @@ -0,0 +1,20 @@ +// 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 a = { + valueOf: function () { + return false; + } +} +assert(!a === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-013.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-013.js new file mode 100644 index 000000000..345eeaab8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-013.js @@ -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(!true === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-014.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-014.js new file mode 100644 index 000000000..e19ad6bf9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-014.js @@ -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(!false === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-015.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-015.js new file mode 100644 index 000000000..3d24fa3ec --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-015.js @@ -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(![] === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-016.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-016.js new file mode 100644 index 000000000..c68e86b24 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-016.js @@ -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(!0 === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-017.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-017.js new file mode 100644 index 000000000..8bf22cb6b --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-017.js @@ -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 === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-018.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-018.js new file mode 100644 index 000000000..645aa64fc --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-018.js @@ -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(!(-Infinity) === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-019.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-019.js new file mode 100644 index 000000000..220b417e5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-019.js @@ -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(!Infinity === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-020.js b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-020.js new file mode 100644 index 000000000..1182c4db3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.04/11.04.09/11.04.09-020.js @@ -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 a = new Boolean(true); +assert(!a === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-001.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-001.js new file mode 100644 index 000000000..0afc2bf54 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-001.js @@ -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(2 * 3 === 6) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-002.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-002.js new file mode 100644 index 000000000..98c3a6da7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-002.js @@ -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 a = 3; +assert(2 * a === 6) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-003.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-003.js new file mode 100644 index 000000000..98a27b851 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-003.js @@ -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 a = 3; +assert(a * 2 === 6) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-004.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-004.js new file mode 100644 index 000000000..600e288f7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-004.js @@ -0,0 +1,17 @@ +// 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 a = 3; +var b = 2; +assert(a * b === 6) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-005.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-005.js new file mode 100644 index 000000000..5f08b9ab3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-005.js @@ -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 a = 0; +assert((a = 1) * a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-006.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-006.js new file mode 100644 index 000000000..d4f14163b --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-006.js @@ -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 a = 0; +assert(a * (a = 1) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-007.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-007.js new file mode 100644 index 000000000..e15606ac5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-007.js @@ -0,0 +1,17 @@ +// 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 a = 2; +assert(a * + 3 === 6) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-008.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-008.js new file mode 100644 index 000000000..b5a583d68 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-008.js @@ -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(true * true === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-009.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-009.js new file mode 100644 index 000000000..75902bea0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-009.js @@ -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(true * false === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-010.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-010.js new file mode 100644 index 000000000..09a44709b --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-010.js @@ -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(false * false === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-011.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-011.js new file mode 100644 index 000000000..de444c115 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-011.js @@ -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("2" * "3" === 6) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-012.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-012.js new file mode 100644 index 000000000..5dc377b02 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-012.js @@ -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("a" * "1") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-013.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-013.js new file mode 100644 index 000000000..36134d12d --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-013.js @@ -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("1" * "a") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-014.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-014.js new file mode 100644 index 000000000..048de421a --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-014.js @@ -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(null * null === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-015.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-015.js new file mode 100644 index 000000000..7871f0fc2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-015.js @@ -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(undefined * undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-016.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-016.js new file mode 100644 index 000000000..b40b6255e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-016.js @@ -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(undefined * null) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-017.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-017.js new file mode 100644 index 000000000..4ba523769 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-017.js @@ -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(null * undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-018.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-018.js new file mode 100644 index 000000000..dc6a31957 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-018.js @@ -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(true * 1 === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-019.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-019.js new file mode 100644 index 000000000..fdc480dd3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-019.js @@ -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 * true === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-020.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-020.js new file mode 100644 index 000000000..6368f63d4 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-020.js @@ -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(2 * "3" === 6) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-021.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-021.js new file mode 100644 index 000000000..b47c40f89 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-021.js @@ -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("2" * 3 === 6) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-022.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-022.js new file mode 100644 index 000000000..17930bd43 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-022.js @@ -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("a" * 1) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-023.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-023.js new file mode 100644 index 000000000..7300cad16 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-023.js @@ -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(1 * "a") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-024.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-024.js new file mode 100644 index 000000000..7c77cff97 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-024.js @@ -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 * null === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-025.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-025.js new file mode 100644 index 000000000..80aea8cd5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-025.js @@ -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(null * 1 === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-026.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-026.js new file mode 100644 index 000000000..a834f427e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-026.js @@ -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(1 * undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-027.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-027.js new file mode 100644 index 000000000..5a994b98c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-027.js @@ -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(undefined * 1) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-028.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-028.js new file mode 100644 index 000000000..9431d559f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-028.js @@ -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(true * "1" === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-029.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-029.js new file mode 100644 index 000000000..14ebe7412 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-029.js @@ -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" * true === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-030.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-030.js new file mode 100644 index 000000000..9e5bd9551 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-030.js @@ -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("1" * undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-031.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-031.js new file mode 100644 index 000000000..32a7f665c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-031.js @@ -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(undefined * "1") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-032.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-032.js new file mode 100644 index 000000000..e73bc5069 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-032.js @@ -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" * null === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-033.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-033.js new file mode 100644 index 000000000..47c14bdb0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-033.js @@ -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(null * "1" === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-034.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-034.js new file mode 100644 index 000000000..dcd7bf563 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-034.js @@ -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(true * undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-035.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-035.js new file mode 100644 index 000000000..a37c3013b --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-035.js @@ -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(undefined * true) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-036.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-036.js new file mode 100644 index 000000000..3b8158886 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-036.js @@ -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(true * null === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-037.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-037.js new file mode 100644 index 000000000..0c42d3e81 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-037.js @@ -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(null * true === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-038.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-038.js new file mode 100644 index 000000000..c3fa77947 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-038.js @@ -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(Number.NaN * Number.NaN) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-039.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-039.js new file mode 100644 index 000000000..9e20f5e2f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-039.js @@ -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(Number.NaN * +0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-040.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-040.js new file mode 100644 index 000000000..82c9286c6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-040.js @@ -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(Number.NaN * -0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-041.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-041.js new file mode 100644 index 000000000..83b5ecc3a --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-041.js @@ -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(Number.NaN * Number.POSITIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-042.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-042.js new file mode 100644 index 000000000..c386d0cbf --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-042.js @@ -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(Number.NaN * Number.NEGATIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-043.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-043.js new file mode 100644 index 000000000..0aaf2975c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-043.js @@ -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(Number.NaN * Number.MAX_VALUE) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-044.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-044.js new file mode 100644 index 000000000..b69948c06 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-044.js @@ -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(Number.NaN * Number.MIN_VALUE) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-045.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-045.js new file mode 100644 index 000000000..75aa45ace --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-045.js @@ -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(Number.NaN * 1) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-046.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-046.js new file mode 100644 index 000000000..2671bc1bd --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-046.js @@ -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 * new Number(1) === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-047.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-047.js new file mode 100644 index 000000000..57a9ad21e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-047.js @@ -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(new Number(1) * 1 === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-048.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-048.js new file mode 100644 index 000000000..24bae4f7e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-048.js @@ -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(new Number(1) * new Number(1) === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-049.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-049.js new file mode 100644 index 000000000..c770e884f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-049.js @@ -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(new Number(1) * new Boolean(true) === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-050.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-050.js new file mode 100644 index 000000000..ba290ab9e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-050.js @@ -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(new Boolean(true) * new Boolean(true) === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-051.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-051.js new file mode 100644 index 000000000..ee079ce8d --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-051.js @@ -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(true * new Boolean(true) === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-052.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-052.js new file mode 100644 index 000000000..a0b3e9fcc --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-052.js @@ -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(new Boolean(true) * true === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-053.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-053.js new file mode 100644 index 000000000..4ecf4c75e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-053.js @@ -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(new Boolean(true) * new String("2") === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-054.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-054.js new file mode 100644 index 000000000..ff30567e6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-054.js @@ -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(new String("2") * new Boolean(true) === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-055.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-055.js new file mode 100644 index 000000000..6f8718797 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-055.js @@ -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(new String("2") * true === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-056.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-056.js new file mode 100644 index 000000000..cd9da0f4b --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-056.js @@ -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(new String("2") * new Number(1) === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-057.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-057.js new file mode 100644 index 000000000..127fddb54 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-057.js @@ -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(new String("2") * 1 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-058.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-058.js new file mode 100644 index 000000000..c2807ebeb --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-058.js @@ -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(new String("2") * new String("1") === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-059.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-059.js new file mode 100644 index 000000000..a78884f77 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-059.js @@ -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({} * {}) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-060.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-060.js new file mode 100644 index 000000000..d5442fc5e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-060.js @@ -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(null * new Number(2) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-061.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-061.js new file mode 100644 index 000000000..3c1304170 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-061.js @@ -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(new Number(2) * null === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-062.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-062.js new file mode 100644 index 000000000..723bb6ec2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-062.js @@ -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(new String("2") * null === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-063.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-063.js new file mode 100644 index 000000000..f7261fe52 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-063.js @@ -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(null * new String("2") === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-064.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-064.js new file mode 100644 index 000000000..88a9b66e1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-064.js @@ -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(null * new Boolean(true) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-065.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-065.js new file mode 100644 index 000000000..757e71d72 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-065.js @@ -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(new Boolean(true) * null === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-066.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-066.js new file mode 100644 index 000000000..a9fa9433e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-066.js @@ -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(new Boolean(true) * undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-067.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-067.js new file mode 100644 index 000000000..09e46336e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-067.js @@ -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(undefined * new Boolean(true)) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-068.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-068.js new file mode 100644 index 000000000..e9b101839 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-068.js @@ -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(undefined * new String("1")) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-069.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-069.js new file mode 100644 index 000000000..8a86ede1a --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-069.js @@ -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(new String("1") * undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-070.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-070.js new file mode 100644 index 000000000..c96e970bc --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-070.js @@ -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(new Number(1) * undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-071.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-071.js new file mode 100644 index 000000000..143762539 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-071.js @@ -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(undefined * new Number(1))) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-072.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-072.js new file mode 100644 index 000000000..02227ada3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-072.js @@ -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(Number.NEGATIVE_INFINITY * 0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-073.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-073.js new file mode 100644 index 000000000..5e954e5fa --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-073.js @@ -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(0 * Number.NEGATIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-074.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-074.js new file mode 100644 index 000000000..51653cf33 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-074.js @@ -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(0 * Number.POSITIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-075.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-075.js new file mode 100644 index 000000000..eb13fb533 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-075.js @@ -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(Number.POSITIVE_INFINITY * 0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-076.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-076.js new file mode 100644 index 000000000..39ac6e0f4 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-076.js @@ -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(Number.POSITIVE_INFINITY * Number.POSITIVE_INFINITY === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-077.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-077.js new file mode 100644 index 000000000..c06201764 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-077.js @@ -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(Number.POSITIVE_INFINITY * Number.NEGATIVE_INFINITY === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-078.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-078.js new file mode 100644 index 000000000..ee895bbea --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-078.js @@ -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(Number.NEGATIVE_INFINITY * Number.POSITIVE_INFINITY === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-079.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-079.js new file mode 100644 index 000000000..f99edadee --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-079.js @@ -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(Number.NEGATIVE_INFINITY * Number.NEGATIVE_INFINITY === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-080.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-080.js new file mode 100644 index 000000000..4d096544f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-080.js @@ -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(Number.NEGATIVE_INFINITY * 1 === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-081.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-081.js new file mode 100644 index 000000000..2bada85dc --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-081.js @@ -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) * Number.NEGATIVE_INFINITY === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-082.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-082.js new file mode 100644 index 000000000..b19a38f4c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-082.js @@ -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) * Number.POSITIVE_INFINITY === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-083.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-083.js new file mode 100644 index 000000000..e141a43c3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-083.js @@ -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(Number.POSITIVE_INFINITY * 1 === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-084.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-084.js new file mode 100644 index 000000000..445d90889 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-084.js @@ -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(Number.MAX_VALUE * 2 === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-085.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-085.js new file mode 100644 index 000000000..cb6391053 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-085.js @@ -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(2 * Number.MAX_VALUE === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-086.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-086.js new file mode 100644 index 000000000..74f9b81ec --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-086.js @@ -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.5) * Number.MAX_VALUE === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-087.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-087.js new file mode 100644 index 000000000..7aa795362 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-087.js @@ -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(Number.MAX_VALUE * (-1.5) === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-088.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-088.js new file mode 100644 index 000000000..1698545b7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-088.js @@ -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(Number.MIN_VALUE * (-0.5) === -0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-089.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-089.js new file mode 100644 index 000000000..0a82f9719 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-089.js @@ -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(0.1 * Number.MIN_VALUE === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-090.js b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-090.js new file mode 100644 index 000000000..9148fca8c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-090.js @@ -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((Number.MAX_VALUE * 1.1) * 0.9 !== Number.MAX_VALUE * (1.1 * 0.9)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-001.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-001.js new file mode 100644 index 000000000..794b00b4e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-001.js @@ -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(6 / 3 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-002.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-002.js new file mode 100644 index 000000000..e5b5673f6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-002.js @@ -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 a = 3; +assert(6 / a === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-003.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-003.js new file mode 100644 index 000000000..4628d03f3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-003.js @@ -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 a = 6; +assert(a / 3 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-004.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-004.js new file mode 100644 index 000000000..c3a55a43c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-004.js @@ -0,0 +1,17 @@ +// 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 a = 6; +var b = 3; +assert(a / b === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-005.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-005.js new file mode 100644 index 000000000..e4e190be1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-005.js @@ -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 a = 0; +assert((a = 1) / a === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-006.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-006.js new file mode 100644 index 000000000..1f8aea5a5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-006.js @@ -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 a = 0; +assert(a / (a = 1) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-007.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-007.js new file mode 100644 index 000000000..14db10ac7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-007.js @@ -0,0 +1,17 @@ +// 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 a = 6; +assert(a / + 3 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-008.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-008.js new file mode 100644 index 000000000..ac6dc7391 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-008.js @@ -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(true / true === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-009.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-009.js new file mode 100644 index 000000000..aabecc760 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-009.js @@ -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(false / true === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-010.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-010.js new file mode 100644 index 000000000..26a4600b5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-010.js @@ -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(true / false === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-011.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-011.js new file mode 100644 index 000000000..e6e566dfa --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-011.js @@ -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("6" / "3" === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-012.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-012.js new file mode 100644 index 000000000..20845f33d --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-012.js @@ -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("a" / "3") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-013.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-013.js new file mode 100644 index 000000000..51b36885c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-013.js @@ -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("6" / "a") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-014.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-014.js new file mode 100644 index 000000000..e7bc952af --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-014.js @@ -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(null / null) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-015.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-015.js new file mode 100644 index 000000000..d6617bd49 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-015.js @@ -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(undefined / undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-016.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-016.js new file mode 100644 index 000000000..44b8293e0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-016.js @@ -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(undefined / null) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-017.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-017.js new file mode 100644 index 000000000..a00e00879 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-017.js @@ -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(null / undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-018.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-018.js new file mode 100644 index 000000000..f6b2d5cf7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-018.js @@ -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(true / 1 === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-019.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-019.js new file mode 100644 index 000000000..97eddc0c3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-019.js @@ -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(2 / true === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-020.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-020.js new file mode 100644 index 000000000..e1f46c40a --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-020.js @@ -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(6 / "2" === 3) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-021.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-021.js new file mode 100644 index 000000000..5c3c8284d --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-021.js @@ -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("6" / 2 === 3) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-022.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-022.js new file mode 100644 index 000000000..553820e33 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-022.js @@ -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("a" / 2) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-023.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-023.js new file mode 100644 index 000000000..a4a566277 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-023.js @@ -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(6 / "a") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-024.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-024.js new file mode 100644 index 000000000..751cb812f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-024.js @@ -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 / null === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-025.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-025.js new file mode 100644 index 000000000..1dd6a18a3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-025.js @@ -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(null / 1 === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-026.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-026.js new file mode 100644 index 000000000..88838313c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-026.js @@ -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(1 / undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-027.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-027.js new file mode 100644 index 000000000..32ff4b146 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-027.js @@ -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(undefined / 1) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-028.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-028.js new file mode 100644 index 000000000..4534dd340 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-028.js @@ -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(true / "1" === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-029.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-029.js new file mode 100644 index 000000000..dc8e64b99 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-029.js @@ -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("2" / true === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-030.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-030.js new file mode 100644 index 000000000..2835d6ac1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-030.js @@ -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("2" / undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-031.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-031.js new file mode 100644 index 000000000..ef5f6d96f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-031.js @@ -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(undefined / "2") === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-032.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-032.js new file mode 100644 index 000000000..030383f3c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-032.js @@ -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("2" / null === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-033.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-033.js new file mode 100644 index 000000000..bd9267451 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-033.js @@ -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(null / "2" === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-034.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-034.js new file mode 100644 index 000000000..d27244198 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-034.js @@ -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(true / undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-035.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-035.js new file mode 100644 index 000000000..fff730130 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-035.js @@ -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(undefined / true) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-036.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-036.js new file mode 100644 index 000000000..0fa378520 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-036.js @@ -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(false / null) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-037.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-037.js new file mode 100644 index 000000000..e86713ff5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-037.js @@ -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(null / true === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-038.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-038.js new file mode 100644 index 000000000..1fc273fb5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-038.js @@ -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(Number.NaN / Number.NaN) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-039.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-039.js new file mode 100644 index 000000000..d8fc98cf3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-039.js @@ -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(Number.NaN / +0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-040.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-040.js new file mode 100644 index 000000000..2b3a52e16 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-040.js @@ -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(Number.NaN / -0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-041.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-041.js new file mode 100644 index 000000000..e50f5a9d0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-041.js @@ -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(Number.NaN / Number.POSITIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-042.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-042.js new file mode 100644 index 000000000..55953b3ca --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-042.js @@ -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(Number.NaN / Number.NEGATIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-043.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-043.js new file mode 100644 index 000000000..8b4d170d1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-043.js @@ -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(Number.NaN / Number.MAX_VALUE) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-044.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-044.js new file mode 100644 index 000000000..2d2c44c25 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-044.js @@ -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(Number.NaN / Number.MIN_VALUE) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-045.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-045.js new file mode 100644 index 000000000..6d7e02c9b --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-045.js @@ -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(Number.NaN / 2) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-046.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-046.js new file mode 100644 index 000000000..deb8c2e39 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-046.js @@ -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(new Number(6) / 3 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-047.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-047.js new file mode 100644 index 000000000..f11cbe7d3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-047.js @@ -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(6 / new Number(3) === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-048.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-048.js new file mode 100644 index 000000000..fbdff449e --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-048.js @@ -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(new Number(6) / new Number(3) === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-049.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-049.js new file mode 100644 index 000000000..ce89f0e83 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-049.js @@ -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(new Number(2) / new Boolean(true) === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-050.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-050.js new file mode 100644 index 000000000..898b564a4 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-050.js @@ -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(new Boolean(false) / new Boolean(true) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-051.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-051.js new file mode 100644 index 000000000..4aa1d9999 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-051.js @@ -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(false / new Boolean(true) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-052.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-052.js new file mode 100644 index 000000000..dee2bd7f6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-052.js @@ -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(new Boolean(true) / false === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-053.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-053.js new file mode 100644 index 000000000..105a1fad7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-053.js @@ -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(new String("2") / new Boolean(false) === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-054.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-054.js new file mode 100644 index 000000000..d0634e578 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-054.js @@ -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(new Boolean(false) / new String("2") === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-055.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-055.js new file mode 100644 index 000000000..6d9b639e6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-055.js @@ -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(false / new String("2") === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-056.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-056.js new file mode 100644 index 000000000..d2d4141bd --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-056.js @@ -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(new String("2") / new Number(1) === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-057.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-057.js new file mode 100644 index 000000000..4730f518f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-057.js @@ -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(new String("2") / 1 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-058.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-058.js new file mode 100644 index 000000000..42e4d57ca --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-058.js @@ -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(new String("2") / new String("1") === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-059.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-059.js new file mode 100644 index 000000000..e6ca9a37f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-059.js @@ -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({} / {}) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-060.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-060.js new file mode 100644 index 000000000..a398758d1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-060.js @@ -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(null / new Number(5) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-061.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-061.js new file mode 100644 index 000000000..735211493 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-061.js @@ -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(new Number(5) / null === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-062.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-062.js new file mode 100644 index 000000000..be5ddc1b1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-062.js @@ -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(new String("5") / null === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-063.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-063.js new file mode 100644 index 000000000..084221a50 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-063.js @@ -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(null / new String("5") === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-064.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-064.js new file mode 100644 index 000000000..123e7f758 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-064.js @@ -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(null / new Boolean(true) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-065.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-065.js new file mode 100644 index 000000000..ccfe19cb9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-065.js @@ -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(new Boolean(true) / null === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-066.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-066.js new file mode 100644 index 000000000..f888502a3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-066.js @@ -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(new Boolean(true) / undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-067.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-067.js new file mode 100644 index 000000000..18f780c7c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-067.js @@ -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(undefined / new Boolean(true)) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-068.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-068.js new file mode 100644 index 000000000..b32f166ba --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-068.js @@ -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(undefined / new String("5")) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-069.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-069.js new file mode 100644 index 000000000..855557546 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-069.js @@ -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(new String("5") / undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-070.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-070.js new file mode 100644 index 000000000..c442e9e66 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-070.js @@ -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(new Number(5) / undefined) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-071.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-071.js new file mode 100644 index 000000000..94659b0f9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-071.js @@ -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(undefined / new Number(5)) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-072.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-072.js new file mode 100644 index 000000000..e7aacbb24 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-072.js @@ -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(Number.NEGATIVE_INFINITY / 0 === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-073.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-073.js new file mode 100644 index 000000000..71c23e8f6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-073.js @@ -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(0 / Number.NEGATIVE_INFINITY === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-074.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-074.js new file mode 100644 index 000000000..a8683ad88 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-074.js @@ -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(0 / Number.POSITIVE_INFINITY === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-075.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-075.js new file mode 100644 index 000000000..a91a96393 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-075.js @@ -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(Number.POSITIVE_INFINITY / 0 === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-076.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-076.js new file mode 100644 index 000000000..a113c0956 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-076.js @@ -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(Number.POSITIVE_INFINITY / Number.POSITIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-077.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-077.js new file mode 100644 index 000000000..3b53970ec --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-077.js @@ -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(Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-078.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-078.js new file mode 100644 index 000000000..f21b4f397 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-078.js @@ -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(Number.NEGATIVE_INFINITY / Number.POSITIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-079.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-079.js new file mode 100644 index 000000000..5977a88ba --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-079.js @@ -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(Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-080.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-080.js new file mode 100644 index 000000000..6d4cbb6ee --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-080.js @@ -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(Number.NEGATIVE_INFINITY / 2 === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-081.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-081.js new file mode 100644 index 000000000..096c724d5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-081.js @@ -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(2 / Number.NEGATIVE_INFINITY === -0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-082.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-082.js new file mode 100644 index 000000000..c93bdd2d7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-082.js @@ -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(2 / Number.POSITIVE_INFINITY === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-083.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-083.js new file mode 100644 index 000000000..69c7df3a9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-083.js @@ -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(Number.POSITIVE_INFINITY / 2 === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-084.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-084.js new file mode 100644 index 000000000..080491564 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-084.js @@ -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(0 / 0) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-085.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-085.js new file mode 100644 index 000000000..686f31c1a --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-085.js @@ -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(Number.MAX_VALUE / 0.5 === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-086.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-086.js new file mode 100644 index 000000000..36acd620f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-086.js @@ -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(Number.MAX_VALUE / Number.MAX_VALUE === 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-087.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-087.js new file mode 100644 index 000000000..c747669f0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-087.js @@ -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(Number.MAX_VALUE / (-0.5) === Number.NEGATIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-088.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-088.js new file mode 100644 index 000000000..26a636dd7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-088.js @@ -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(Number.MIN_VALUE / 2 === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-089.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-089.js new file mode 100644 index 000000000..0123aa893 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-089.js @@ -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(2 / Number.MIN_VALUE === Number.POSITIVE_INFINITY) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-090.js b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-090.js new file mode 100644 index 000000000..90bf8785c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-090.js @@ -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 / 2) / 4 !== 1 / (2 / 4)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-001.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-001.js new file mode 100644 index 000000000..7e0fcb0c2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-001.js @@ -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(NaN % 1)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-002.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-002.js new file mode 100644 index 000000000..b47baae05 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-002.js @@ -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(100 % NaN)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-003.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-003.js new file mode 100644 index 000000000..92f2ee1c6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-003.js @@ -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(NaN % NaN)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-004.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-004.js new file mode 100644 index 000000000..4fde9a8be --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-004.js @@ -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(-100 % 3 < 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-005.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-005.js new file mode 100644 index 000000000..73e52a555 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-005.js @@ -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(100 % -3 > 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-006.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-006.js new file mode 100644 index 000000000..4d74bf2fb --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-006.js @@ -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(-100 % -3 < 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-007.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-007.js new file mode 100644 index 000000000..169d36e24 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-007.js @@ -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(Infinity % 3)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-008.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-008.js new file mode 100644 index 000000000..4185bb26f --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-008.js @@ -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(-Infinity % 3)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-009.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-009.js new file mode 100644 index 000000000..7c71fde88 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-009.js @@ -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(5 % 0)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-010.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-010.js new file mode 100644 index 000000000..4b0bb2480 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-010.js @@ -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(Infinity % 0)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-011.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-011.js new file mode 100644 index 000000000..723d25b54 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-011.js @@ -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(5 % Infinity === 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-012.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-012.js new file mode 100644 index 000000000..45550feee --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-012.js @@ -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(0 % 5 === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-013.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-013.js new file mode 100644 index 000000000..db7d14039 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-013.js @@ -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(-Infinity % Infinity)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-014.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-014.js new file mode 100644 index 000000000..b992c1d6c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-014.js @@ -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(-0 % 5 === -0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-015.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-015.js new file mode 100644 index 000000000..b3e820487 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-015.js @@ -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(+0 % 5 === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-016.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-016.js new file mode 100644 index 000000000..1b64dd722 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-016.js @@ -0,0 +1,17 @@ +// 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 n = 100; +var d = 10; +assert(n % d === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-017.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-017.js new file mode 100644 index 000000000..4d08417b9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-017.js @@ -0,0 +1,17 @@ +// 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 n = 100.5; +var d = 10; +assert(n % d === 0.5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-018.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-018.js new file mode 100644 index 000000000..b90b55af7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-018.js @@ -0,0 +1,17 @@ +// 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 n = 105; +var d = 10; +assert(n % d === 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-019.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-019.js new file mode 100644 index 000000000..a6df18cdb --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-019.js @@ -0,0 +1,17 @@ +// 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 n = 109.5; +var d = 5.5; +assert(n % d === 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-020.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-020.js new file mode 100644 index 000000000..e35a3a304 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-020.js @@ -0,0 +1,17 @@ +// 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 n = 550; +var d = 5.5; +assert(n % d === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-021.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-021.js new file mode 100644 index 000000000..8a8fa3b6c --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-021.js @@ -0,0 +1,17 @@ +// 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 n = 100; +var d = new Boolean(true); +assert(n % d === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-022.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-022.js new file mode 100644 index 000000000..a687809c7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-022.js @@ -0,0 +1,17 @@ +// 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 n = 100; +var d = new Boolean(false); +assert(isNaN(n % d)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-023.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-023.js new file mode 100644 index 000000000..72e3bbdea --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-023.js @@ -0,0 +1,17 @@ +// 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 n = "100"; +var d = ""; +assert(isNaN(n % d)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-024.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-024.js new file mode 100644 index 000000000..5d70e2552 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-024.js @@ -0,0 +1,25 @@ +// 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 n = { + valueOf: function () { + return 109.5; + } +} +var d = { + valueOf: function () { + return 5.5; + } +} +assert(n % d === 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-025.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-025.js new file mode 100644 index 000000000..42a1afc83 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-025.js @@ -0,0 +1,25 @@ +// 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 n = { + valueOf: function () { + return -Infinity; + } +} +var d = { + valueOf: function () { + return 0; + } +} +assert(isNaN(n % d)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-026.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-026.js new file mode 100644 index 000000000..7c7372ddd --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-026.js @@ -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(undefined % 1)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-027.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-027.js new file mode 100644 index 000000000..af397625b --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-027.js @@ -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(null % 1 === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-028.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-028.js new file mode 100644 index 000000000..ae63f00c7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-028.js @@ -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(1 % null)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-029.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-029.js new file mode 100644 index 000000000..051b662d5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-029.js @@ -0,0 +1,17 @@ +// 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 n = new String("100"); +var d = new String("10"); +assert(n % d === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-030.js b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-030.js new file mode 100644 index 000000000..0dfc96f13 --- /dev/null +++ b/tests/jerry-test-suite/11/11.05/11.05.03/11.05.03-030.js @@ -0,0 +1,17 @@ +// 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 n = new Boolean(true); +var d = new String(""); +assert(isNaN(n % d)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-001.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-001.js new file mode 100644 index 000000000..a4081c9f2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-001.js @@ -0,0 +1,17 @@ +// 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 a = "lirum "; +var b = "ipsum"; +assert(a + b == "lirum ipsum") \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-002.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-002.js new file mode 100644 index 000000000..db1734585 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-002.js @@ -0,0 +1,17 @@ +// 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 a = 12; +var b = "3"; +assert(a + b === "123") \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-003.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-003.js new file mode 100644 index 000000000..b2c0c31cf --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-003.js @@ -0,0 +1,17 @@ +// 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 a = "12"; +var b = 3; +assert(a + b === "123") \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-004.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-004.js new file mode 100644 index 000000000..d1b1a001c --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-004.js @@ -0,0 +1,17 @@ +// 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 a = 123; +var b = 456; +assert(a + b == 579) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-005.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-005.js new file mode 100644 index 000000000..380dc9029 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-005.js @@ -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 x = 1; +assert(x + 1 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-006.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-006.js new file mode 100644 index 000000000..f8c04b8e9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-006.js @@ -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 y = 1; +assert(1 + y === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-007.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-007.js new file mode 100644 index 000000000..1ef017ac4 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-007.js @@ -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(new Number(1) + 1 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-008.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-008.js new file mode 100644 index 000000000..96d3d9b4b --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-008.js @@ -0,0 +1,19 @@ +// 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 objectx = new Object(); +var objecty = new Object(); +objectx.prop = 1; +objecty.prop = 1; +assert(objectx.prop + objecty.prop === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-009.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-009.js new file mode 100644 index 000000000..a67f3c9a7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-009.js @@ -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 + new Number(1) === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-010.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-010.js new file mode 100644 index 000000000..def8d8a18 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-010.js @@ -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(new Number(1) + new Number(1) === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-011.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-011.js new file mode 100644 index 000000000..73220b14f --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-011.js @@ -0,0 +1,23 @@ +// 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. + +object = { + valueOf: function () { + return 1 + }, + toString: function () { + return 0 + } +} +assert(object + 1 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-012.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-012.js new file mode 100644 index 000000000..f18a9cf7e --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-012.js @@ -0,0 +1,23 @@ +// 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. + +object = { + valueOf: function () { + return 1 + }, + toString: function () { + return 0 + } +} +assert(1 + object === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-013.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-013.js new file mode 100644 index 000000000..b92237eac --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-013.js @@ -0,0 +1,23 @@ +// 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. + +object = { + valueOf: function () { + return 1 + }, + toString: function () { + return 0 + } +} +assert(object + "1" === "11") \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-014.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-014.js new file mode 100644 index 000000000..4d4ac441a --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-014.js @@ -0,0 +1,23 @@ +// 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. + +object = { + valueOf: function () { + return "1" + }, + toString: function () { + return 0 + } +} +assert("1" + object === "11") \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-015.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-015.js new file mode 100644 index 000000000..0e26423a6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-015.js @@ -0,0 +1,33 @@ +// 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. + +object1 = { + valueOf: function () { + return 1; + }, + toString: function () { + return 0; + } +} + +object2 = { + valueOf: function () { + return 1; + }, + toString: function () { + return 0; + } +} + +assert(object1 + object2 === 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-016.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-016.js new file mode 100644 index 000000000..1e889468a --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-016.js @@ -0,0 +1,19 @@ +// 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. + +object = new Object() + +var str = new String() + +assert(object + str === "[object Object]") \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-017.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-017.js new file mode 100644 index 000000000..72930a932 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-017.js @@ -0,0 +1,19 @@ +// 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. + +object = new Object() + +var b = 1 + +assert(object + b === "[object Object]1") \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-018.js b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-018.js new file mode 100644 index 000000000..08197cbae --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.01/11.06.01-018.js @@ -0,0 +1,19 @@ +// 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. + +object = new String() + +var b = 1 + +assert(object + b === "1") \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-001.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-001.js new file mode 100644 index 000000000..c62b7874d --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-001.js @@ -0,0 +1,17 @@ +// 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 a = 100; +var b = 20; +assert(a - b === 80) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-002.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-002.js new file mode 100644 index 000000000..701c5166f --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-002.js @@ -0,0 +1,17 @@ +// 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 a = -10; +var b = 50; +assert((a - b === -60) && (b - a === 60)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-003.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-003.js new file mode 100644 index 000000000..4d596d500 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-003.js @@ -0,0 +1,17 @@ +// 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 a = -5; +var b = -100; +assert(a - b === 95) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-004.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-004.js new file mode 100644 index 000000000..67af31a72 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-004.js @@ -0,0 +1,17 @@ +// 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 a = "string"; +var b = 10; +assert(isNaN(a - b) && isNaN(b - a)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-005.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-005.js new file mode 100644 index 000000000..ccc585ede --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-005.js @@ -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 x = 1; +assert((x - 1 !== 0) || (1 - x !== 0)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-006.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-006.js new file mode 100644 index 000000000..9efd53f9c --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-006.js @@ -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 - 1 === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-007.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-007.js new file mode 100644 index 000000000..532b7f234 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-007.js @@ -0,0 +1,19 @@ +// 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 object1 = new Object(); +var object2 = new Object(); +object1.prop = 1; +object2.prop = 1; +assert(object1.prop - object2.prop === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-008.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-008.js new file mode 100644 index 000000000..4119ef671 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-008.js @@ -0,0 +1,23 @@ +// 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. + +object = { + valueOf: function () { + return 1; + }, + toString: function () { + return 0; + } +} +assert((object - 1 !== 0) || (1 - object !== 0)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-009.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-009.js new file mode 100644 index 000000000..9e9914a7f --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-009.js @@ -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 x = 0; +assert(x - (x = 1) !== -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-010.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-010.js new file mode 100644 index 000000000..3a5aa9607 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-010.js @@ -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(true - true === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-011.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-011.js new file mode 100644 index 000000000..69082672b --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-011.js @@ -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(((new Number(1) - 1 !== 0) || (1 - new Number(1) !== 0))) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-012.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-012.js new file mode 100644 index 000000000..c4354818a --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-012.js @@ -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(new Number(1) - new Number(1) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-013.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-013.js new file mode 100644 index 000000000..44c1a0a83 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-013.js @@ -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" - "1" === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-014.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-014.js new file mode 100644 index 000000000..72e24cbce --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-014.js @@ -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" - new String("1") !== 0) || (new String("1") - 1 !== 0))) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-015.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-015.js new file mode 100644 index 000000000..8880e9662 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-015.js @@ -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(new String("1") - new String("1") === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-016.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-016.js new file mode 100644 index 000000000..0d63f5f16 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-016.js @@ -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("x" - "1") && isNaN("1" - "x")) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-017.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-017.js new file mode 100644 index 000000000..6b06d5255 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-017.js @@ -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("x" - 1) && isNaN(1 - "x")) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-001.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-001.js new file mode 100644 index 000000000..f0746c229 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-001.js @@ -0,0 +1,17 @@ +// 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 a = 1; +var b = 2; +assert(a + b === b + a) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-002.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-002.js new file mode 100644 index 000000000..048961780 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-002.js @@ -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. + +obj = new Object; +assert(isNaN(obj + NaN) && isNaN(NaN + obj)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-003.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-003.js new file mode 100644 index 000000000..737d09f47 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-003.js @@ -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. + +obj = new Object(); +assert(isNaN(obj - NaN) && isNaN(NaN - obj)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-004.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-004.js new file mode 100644 index 000000000..32de0c2d8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-004.js @@ -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(Infinity + -Infinity)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-005.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-005.js new file mode 100644 index 000000000..4cae6c41f --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-005.js @@ -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((Infinity + Infinity === Infinity) && (-Infinity + -Infinity === -Infinity)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-006.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-006.js new file mode 100644 index 000000000..13c9fbf94 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-006.js @@ -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(Infinity + 1 === Infinity) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-007.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-007.js new file mode 100644 index 000000000..912cb510d --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-007.js @@ -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(-0 + -0 === -0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-008.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-008.js new file mode 100644 index 000000000..20dc3571c --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-008.js @@ -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((+0 + +0 === +0) && (+0 + -0 === +0)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-009.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-009.js new file mode 100644 index 000000000..1eff658a1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-009.js @@ -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(0 + 5 === 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-010.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-010.js new file mode 100644 index 000000000..8a1d72c62 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-010.js @@ -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. + + +assert(2 + -2 === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-011.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-011.js new file mode 100644 index 000000000..20dc3571c --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-011.js @@ -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((+0 + +0 === +0) && (+0 + -0 === +0)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-012.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-012.js new file mode 100644 index 000000000..fd62d3a0a --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-012.js @@ -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. + +assertf(-Number.MAX_VALUE - Number.MAX_VALUE === -Infinity) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-013.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-013.js new file mode 100644 index 000000000..838d1cca3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-013.js @@ -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(Number.MIN_VALUE + -Number.MIN_VALUE !== +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-014.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-014.js new file mode 100644 index 000000000..889372e5b --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-014.js @@ -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(-Number.MAX_VALUE - -Number.MAX_VALUE === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-015.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-015.js new file mode 100644 index 000000000..53bd609df --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-015.js @@ -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(Number.MAX_VALUE - -Number.MAX_VALUE === +Infinity) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-016.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-016.js new file mode 100644 index 000000000..59c8c0027 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-016.js @@ -0,0 +1,17 @@ +// 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 a = 1; +var b = -1; +assert(a - b === a + -b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-017.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-017.js new file mode 100644 index 000000000..f7b4040ea --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-017.js @@ -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(Number.MAX_VALUE - -0 === Number.MAX_VALUE) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-018.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-018.js new file mode 100644 index 000000000..1a3789dae --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-018.js @@ -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. + + +assert(0 - 1 === -1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-019.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-019.js new file mode 100644 index 000000000..889372e5b --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-019.js @@ -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(-Number.MAX_VALUE - -Number.MAX_VALUE === +0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-020.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-020.js new file mode 100644 index 000000000..cd41d3bda --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-020.js @@ -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(1e+308 - -1e+308 === +Infinity) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-021.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-021.js new file mode 100644 index 000000000..00d487798 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-021.js @@ -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(-8.99e+307 - 8.99e+307 === -Infinity) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-022.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-022.js new file mode 100644 index 000000000..499dfb9fb --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-022.js @@ -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(-Number.MAX_VALUE + Number.MAX_VALUE + Number.MAX_VALUE === (-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-023.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-023.js new file mode 100644 index 000000000..b24fe0f5c --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-023.js @@ -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((-Number.MAX_VALUE + Number.MAX_VALUE) + Number.MAX_VALUE !== -Number.MAX_VALUE + (Number.MAX_VALUE + Number.MAX_VALUE)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-024.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-024.js new file mode 100644 index 000000000..657a41c2b --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-024.js @@ -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" + 1 + 1 === ("1" + 1) + 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-025.js b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-025.js new file mode 100644 index 000000000..9782528c8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.06/11.06.03/11.06.03-025.js @@ -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" + 1) + 1 !== "1" + (1 + 1)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-001.js b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-001.js new file mode 100644 index 000000000..3c5c60972 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-001.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a << 2 // eq a * 2^2 +assert(b == 20) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-003.js b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-003.js new file mode 100644 index 000000000..5a69b3a0c --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-003.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a << 1 + 1; +assert(b == 20) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-004.js b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-004.js new file mode 100644 index 000000000..e00a6263e --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-004.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a << "2"; +assert(b == 20) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-005.js b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-005.js new file mode 100644 index 000000000..3ec100b01 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-005.js @@ -0,0 +1,17 @@ +// 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 a; +var b = a << 2; +assert(b == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-006.js b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-006.js new file mode 100644 index 000000000..6db593a72 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-006.js @@ -0,0 +1,17 @@ +// 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 a = null; +var b = a << 2; +assert(b == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-007.js b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-007.js new file mode 100644 index 000000000..e49e26a94 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-007.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a << null; +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-008.js b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-008.js new file mode 100644 index 000000000..4dea870b7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-008.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a << true; +assert(b == 10) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-009.js b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-009.js new file mode 100644 index 000000000..e16875a52 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.01/11.07.01-009.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a << -1; +assert(b == -2147483648) // -2^31 \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-001.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-001.js new file mode 100644 index 000000000..72c300dae --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-001.js @@ -0,0 +1,17 @@ +// 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 a = 20; +var b = a >> 2 // eq a / 2^2 +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-002.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-002.js new file mode 100644 index 000000000..a2216162a --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-002.js @@ -0,0 +1,17 @@ +// 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 a = 20; +var b = a >> 1 + 1; +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-003.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-003.js new file mode 100644 index 000000000..01e3a78bc --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-003.js @@ -0,0 +1,17 @@ +// 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 a = 20; +var b = a >> "2"; +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-004.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-004.js new file mode 100644 index 000000000..c75512399 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-004.js @@ -0,0 +1,17 @@ +// 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 a; +var b = a >> 2; +assert(b == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-005.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-005.js new file mode 100644 index 000000000..ccd2a5797 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-005.js @@ -0,0 +1,17 @@ +// 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 a = null; +var b = a >> 2; +assert(b == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-006.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-006.js new file mode 100644 index 000000000..93cd19f34 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-006.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a >> null; +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-007.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-007.js new file mode 100644 index 000000000..1a7511f50 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-007.js @@ -0,0 +1,17 @@ +// 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 a = 20; +var b = a >> true; +assert(b == 10) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-008.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-008.js new file mode 100644 index 000000000..4f93d4e8c --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-008.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a >> -1; +assert(b == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-009.js b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-009.js new file mode 100644 index 000000000..76bba11a9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-009.js @@ -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 b = -2147483648 >> 30; +assert(b == -2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-001.js b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-001.js new file mode 100644 index 000000000..8784662dd --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-001.js @@ -0,0 +1,17 @@ +// 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 a = 20; +var b = a >>> 2 // eq a / 2^2 +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-002.js b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-002.js new file mode 100644 index 000000000..b706569b2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-002.js @@ -0,0 +1,17 @@ +// 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 a = 20; + var b = a >>> 1+1; +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-003.js b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-003.js new file mode 100644 index 000000000..c69e940d9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-003.js @@ -0,0 +1,17 @@ +// 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 a = 20; +var b = a >>> "2"; +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-004.js b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-004.js new file mode 100644 index 000000000..019f949e3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-004.js @@ -0,0 +1,17 @@ +// 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 a; +var b = a >>> 2; +assert(b == 0) diff --git a/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-005.js b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-005.js new file mode 100644 index 000000000..b132d3e07 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-005.js @@ -0,0 +1,17 @@ +// 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 a = null; +var b = a >>> 2; +assert(b == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-006.js b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-006.js new file mode 100644 index 000000000..5d09c4711 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-006.js @@ -0,0 +1,17 @@ +// 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 a = 5; +var b = a >>> null; +assert(b == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-007.js b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-007.js new file mode 100644 index 000000000..497d1c277 --- /dev/null +++ b/tests/jerry-test-suite/11/11.07/11.07.03/11.07.03-007.js @@ -0,0 +1,17 @@ +// 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 a = 20; +var b = a >>> true; +assert(b == 10) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-001.js b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-001.js new file mode 100644 index 000000000..81ad01118 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-001.js @@ -0,0 +1,17 @@ +// 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 a = 5, b = 7 +var c = a < b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-002.js b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-002.js new file mode 100644 index 000000000..d8f387614 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-002.js @@ -0,0 +1,17 @@ +// 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 a = 7, b = 6 +var c = a < b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-003.js b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-003.js new file mode 100644 index 000000000..3fee3d67b --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-003.js @@ -0,0 +1,17 @@ +// 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 a = "abc", b = "abd" +var c = a < b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-004.js b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-004.js new file mode 100644 index 000000000..5ca26caeb --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-004.js @@ -0,0 +1,17 @@ +// 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 a = "abd", b = "abc" +var c = a < b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-005.js b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-005.js new file mode 100644 index 000000000..d6f12cf20 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-005.js @@ -0,0 +1,17 @@ +// 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 a = null, b = undefined +var c = a < b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-006.js b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-006.js new file mode 100644 index 000000000..b6f7b3304 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.01/11.08.01-006.js @@ -0,0 +1,17 @@ +// 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 a = false, b = true +var c = a < b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-001.js b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-001.js new file mode 100644 index 000000000..aa7b65274 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-001.js @@ -0,0 +1,17 @@ +// 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 a = 700000000000000000000, b = 500000000000000000000 +var c = a > b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-002.js b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-002.js new file mode 100644 index 000000000..14ce61d29 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-002.js @@ -0,0 +1,17 @@ +// 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 a = 6.233, b = 6.234 +var c = a > b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-003.js b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-003.js new file mode 100644 index 000000000..d6e96f693 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-003.js @@ -0,0 +1,17 @@ +// 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 a = "zbda", b = "zbd" +var c = a > b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-004.js b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-004.js new file mode 100644 index 000000000..fda771eea --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-004.js @@ -0,0 +1,17 @@ +// 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 a = "aaaaa1", b = "aaaaaz" +var c = a > b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-005.js b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-005.js new file mode 100644 index 000000000..28594bd6e --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-005.js @@ -0,0 +1,17 @@ +// 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 a = null, b = undefined +var c = a > b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-006.js b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-006.js new file mode 100644 index 000000000..3515be347 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.02/11.08.02-006.js @@ -0,0 +1,17 @@ +// 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 a = false, b = true +var c = a > b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-001.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-001.js new file mode 100644 index 000000000..4372f5825 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-001.js @@ -0,0 +1,17 @@ +// 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 a = 5, b = 7 +var c = a <= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-002.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-002.js new file mode 100644 index 000000000..6ac53b1ce --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-002.js @@ -0,0 +1,17 @@ +// 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 a = 7, b = 6 +var c = a <= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-003.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-003.js new file mode 100644 index 000000000..40473ad38 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-003.js @@ -0,0 +1,17 @@ +// 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 a = "abc", b = "abd" +var c = a <= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-004.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-004.js new file mode 100644 index 000000000..0d6e78828 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-004.js @@ -0,0 +1,17 @@ +// 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 a = "abd", b = "abc" +var c = a <= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-005.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-005.js new file mode 100644 index 000000000..93f233260 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-005.js @@ -0,0 +1,17 @@ +// 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 a = null, b = undefined +var c = a <= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-006.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-006.js new file mode 100644 index 000000000..82c2e90d3 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-006.js @@ -0,0 +1,17 @@ +// 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 a = false, b = true +var c = a <= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-007.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-007.js new file mode 100644 index 000000000..0b628d6cd --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-007.js @@ -0,0 +1,17 @@ +// 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 a = 7, b = 7 +var c = a <= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-008.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-008.js new file mode 100644 index 000000000..7321816c8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-008.js @@ -0,0 +1,17 @@ +// 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 a = "abd", b = "abd" +var c = a <= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-009.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-009.js new file mode 100644 index 000000000..fe6b88612 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-009.js @@ -0,0 +1,17 @@ +// 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 a = true, b = true +var c = a <= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-010.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-010.js new file mode 100644 index 000000000..878b975c2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-010.js @@ -0,0 +1,18 @@ +// 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 a = 2, b = function () { +} +var c = a <= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-011.js b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-011.js new file mode 100644 index 000000000..a6345c9cd --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.03/11.08.03-011.js @@ -0,0 +1,17 @@ +// 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 a = 2, b = 'sdafg' +var c = a <= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-001.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-001.js new file mode 100644 index 000000000..631f05500 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-001.js @@ -0,0 +1,17 @@ +// 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 a = 700000000000000000000, b = 500000000000000000000 +var c = a >= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-002.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-002.js new file mode 100644 index 000000000..bc570fbb7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-002.js @@ -0,0 +1,17 @@ +// 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 a = 6.233, b = 6.234 +var c = a >= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-003.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-003.js new file mode 100644 index 000000000..045ae79cb --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-003.js @@ -0,0 +1,17 @@ +// 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 a = "zbda", b = "zbd" +var c = a >= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-004.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-004.js new file mode 100644 index 000000000..466dae872 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-004.js @@ -0,0 +1,17 @@ +// 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 a = "aaaaa1", b = "aaaaaz" +var c = a >= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-005.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-005.js new file mode 100644 index 000000000..d1055d650 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-005.js @@ -0,0 +1,17 @@ +// 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 a = null, b = undefined +var c = a >= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-006.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-006.js new file mode 100644 index 000000000..9b7ebf48f --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-006.js @@ -0,0 +1,17 @@ +// 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 a = false, b = true +var c = a >= b +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-007.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-007.js new file mode 100644 index 000000000..3a557b066 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-007.js @@ -0,0 +1,17 @@ +// 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 a = false, b = false +var c = a >= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-008.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-008.js new file mode 100644 index 000000000..14994e386 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-008.js @@ -0,0 +1,17 @@ +// 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 a = 1.2, b = '1.2' +var c = a >= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-009.js b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-009.js new file mode 100644 index 000000000..6fc243300 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.04/11.08.04-009.js @@ -0,0 +1,17 @@ +// 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 a = 6.233, b = 6.233 +var c = a >= b +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-001.js b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-001.js new file mode 100644 index 000000000..a8a6be6e4 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-001.js @@ -0,0 +1,17 @@ +// 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 a = 2 +var c = a instanceof Number +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-002.js b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-002.js new file mode 100644 index 000000000..dc31935a7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-002.js @@ -0,0 +1,17 @@ +// 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 a = Number(2) +var c = a instanceof Number +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-003.js b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-003.js new file mode 100644 index 000000000..eafa9fd75 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-003.js @@ -0,0 +1,17 @@ +// 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 a = new Number(2) +var c = a instanceof Number +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-004.js b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-004.js new file mode 100644 index 000000000..4bd4fad6a --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-004.js @@ -0,0 +1,17 @@ +// 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 a = 'abcd' +var c = a instanceof String +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-005.js b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-005.js new file mode 100644 index 000000000..3f49d182c --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-005.js @@ -0,0 +1,17 @@ +// 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 a = new String('abcd') +var c = a instanceof String +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-006.js b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-006.js new file mode 100644 index 000000000..669c3850b --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-006.js @@ -0,0 +1,19 @@ +// 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 a = function () { +} +var b = new a() +var c = b instanceof a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-007.js b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-007.js new file mode 100644 index 000000000..e4599ac1d --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-007.js @@ -0,0 +1,17 @@ +// 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 a = new Object() +var c = a instanceof Object +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-001.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-001.js new file mode 100644 index 000000000..ae2a1b935 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-001.js @@ -0,0 +1,17 @@ +// 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 a = [1, 2, 3, 4, 5, 6] +var c = 0 in a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-002.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-002.js new file mode 100644 index 000000000..7f2076864 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-002.js @@ -0,0 +1,17 @@ +// 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 a = [1, 2, 3, 4, 5, 6] +var c = 5 in a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-003.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-003.js new file mode 100644 index 000000000..88f9d66de --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-003.js @@ -0,0 +1,17 @@ +// 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 a = [1, 2, 3, 4, 5, 6] +var c = 6 in a +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-004.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-004.js new file mode 100644 index 000000000..01a0d8713 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-004.js @@ -0,0 +1,18 @@ +// 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 a = [1, 2, 3, 4, 5, 6] +var c = '0' in a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-005.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-005.js new file mode 100644 index 000000000..ac0318b9c --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-005.js @@ -0,0 +1,17 @@ +// 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 a = {name: 'Masha', 'age': 10} +var c = 'name' in a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-007.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-007.js new file mode 100644 index 000000000..a41b48567 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-007.js @@ -0,0 +1,17 @@ +// 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 a = {name: 'Masha', 'age': 10} +var c = "age" in a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-008.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-008.js new file mode 100644 index 000000000..acbcefc39 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-008.js @@ -0,0 +1,17 @@ +// 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 a = {name: 'Masha', 'age': 10} +var c = 'Masha' in a +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-009.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-009.js new file mode 100644 index 000000000..63a28af77 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-009.js @@ -0,0 +1,17 @@ +// 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 a = {name: 'Masha', 'age': 10} +var c = "toString" in a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-010.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-010.js new file mode 100644 index 000000000..fe8c2f251 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-010.js @@ -0,0 +1,17 @@ +// 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 a = new String('example') +var c = toString in a +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-011.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-011.js new file mode 100644 index 000000000..ddf192d10 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-011.js @@ -0,0 +1,17 @@ +// 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 a = new String('example') +var c = 'length' in a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-012.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-012.js new file mode 100644 index 000000000..fe8c2f251 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-012.js @@ -0,0 +1,17 @@ +// 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 a = new String('example') +var c = toString in a +assert(!c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-013.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-013.js new file mode 100644 index 000000000..2fa5c20b9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-013.js @@ -0,0 +1,17 @@ +// 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 a = new String('example') +var c = 'toString' in a +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-014.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-014.js new file mode 100644 index 000000000..cd116d673 --- /dev/null +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-014.js @@ -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 c = 'PI' in Math +assert(c) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-001.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-001.js new file mode 100644 index 000000000..a3fba5954 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-001.js @@ -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 x, y +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-002.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-002.js new file mode 100644 index 000000000..8d58daf4d --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-002.js @@ -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 x = null, y = null +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-003.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-003.js new file mode 100644 index 000000000..143203483 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-003.js @@ -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 x = NaN, y = 1 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-004.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-004.js new file mode 100644 index 000000000..8a9224161 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-004.js @@ -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 x = 2, y = NaN +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-005.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-005.js new file mode 100644 index 000000000..b99a31e36 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-005.js @@ -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 x = 2.756, y = 2.756 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-006.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-006.js new file mode 100644 index 000000000..18efc635a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-006.js @@ -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 x = +0, y = -0 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-007.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-007.js new file mode 100644 index 000000000..4129aaf0a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-007.js @@ -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 x = -0, y = +0 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-008.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-008.js new file mode 100644 index 000000000..ae2e4855e --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-008.js @@ -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 x = 2.8, y = 3.4 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-009.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-009.js new file mode 100644 index 000000000..da669b401 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-009.js @@ -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 x = "abg", y = 'abg' +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-010.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-010.js new file mode 100644 index 000000000..52f540cca --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-010.js @@ -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 x = "abg", y = 'abgs' +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-011.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-011.js new file mode 100644 index 000000000..4e9402041 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-011.js @@ -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 x = "abg", y = 'abh' +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-012.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-012.js new file mode 100644 index 000000000..7568ce906 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-012.js @@ -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 x = "abg", y = 'aBg' +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-013.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-013.js new file mode 100644 index 000000000..d00d69115 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-013.js @@ -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 x = true, y = true +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-014.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-014.js new file mode 100644 index 000000000..c6e0c9553 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-014.js @@ -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 x = false, y = false +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-015.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-015.js new file mode 100644 index 000000000..bdeec9342 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-015.js @@ -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 x = false, y = true +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-016.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-016.js new file mode 100644 index 000000000..67e5f1b20 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-016.js @@ -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 x = null, y = undefined +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-017.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-017.js new file mode 100644 index 000000000..89ea5dc23 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-017.js @@ -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 x = undefined, y = null +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-018.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-018.js new file mode 100644 index 000000000..0d745603a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-018.js @@ -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 x = 0.123, y = "0.123" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-019.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-019.js new file mode 100644 index 000000000..acd0206d1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-019.js @@ -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 x = 0.123, y = "0.124" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-020.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-020.js new file mode 100644 index 000000000..b31e32050 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-020.js @@ -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 x = 0.123, y = "0.123e0" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-021.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-021.js new file mode 100644 index 000000000..d222efb54 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-021.js @@ -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 x = 0.123, y = "0.123e+2" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-022.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-022.js new file mode 100644 index 000000000..af1c67489 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-022.js @@ -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 x = 0.123, y = "0.123a" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-023.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-023.js new file mode 100644 index 000000000..41882b43b --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-023.js @@ -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 x = 0.123, y = "b0.123" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-024.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-024.js new file mode 100644 index 000000000..bddeeba95 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-024.js @@ -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 x = 0.123, y = "1.23e-1" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-025.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-025.js new file mode 100644 index 000000000..dffd3c303 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-025.js @@ -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 x = false, y = "-0" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-026.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-026.js new file mode 100644 index 000000000..7fc6fff8a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-026.js @@ -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 x = true, y = "+1" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-027.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-027.js new file mode 100644 index 000000000..b9986c3fc --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-027.js @@ -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 x = true, y = "-1" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-028.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-028.js new file mode 100644 index 000000000..5241fea0a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-028.js @@ -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 x = true, y = "true" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-029.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-029.js new file mode 100644 index 000000000..c96946704 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-029.js @@ -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 x = true, y = "123" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-030.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-030.js new file mode 100644 index 000000000..48d035deb --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-030.js @@ -0,0 +1,17 @@ +// 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 x = Object("abc") +b = x +assert(x == b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-031.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-031.js new file mode 100644 index 000000000..2fd7ff86c --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-031.js @@ -0,0 +1,18 @@ +// 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 x = Object("abc") +var y = Object("abc") +b = x, c = y +assert(c == b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-032.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-032.js new file mode 100644 index 000000000..4aec69c42 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-032.js @@ -0,0 +1,17 @@ +// 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 x = "a" +var y = 2 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-033.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-033.js new file mode 100644 index 000000000..45e1f3634 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-033.js @@ -0,0 +1,17 @@ +// 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 x = "12.1e5" +var y = 1210000 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-034.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-034.js new file mode 100644 index 000000000..bb8d2b69f --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-034.js @@ -0,0 +1,17 @@ +// 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 x = "1" +var y = true +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-035.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-035.js new file mode 100644 index 000000000..eba3d5f63 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-035.js @@ -0,0 +1,17 @@ +// 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 x = 0 +var y = false +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-036.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-036.js new file mode 100644 index 000000000..82692e702 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-036.js @@ -0,0 +1,17 @@ +// 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 x = 1e-324 +var y = false +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-037.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-037.js new file mode 100644 index 000000000..a7059860a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-037.js @@ -0,0 +1,17 @@ +// 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 x = 1e-323 +var y = false +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-038.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-038.js new file mode 100644 index 000000000..847a6eb65 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-038.js @@ -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 x = "0", y = Object(0) +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-001.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-001.js new file mode 100644 index 000000000..a3fba5954 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-001.js @@ -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 x, y +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-002.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-002.js new file mode 100644 index 000000000..8d58daf4d --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-002.js @@ -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 x = null, y = null +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-003.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-003.js new file mode 100644 index 000000000..1a7682cff --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-003.js @@ -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 x = NaN, y = 1 +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-004.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-004.js new file mode 100644 index 000000000..ef49302ba --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-004.js @@ -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 x = 2, y = NaN +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-005.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-005.js new file mode 100644 index 000000000..b99a31e36 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-005.js @@ -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 x = 2.756, y = 2.756 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-006.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-006.js new file mode 100644 index 000000000..18efc635a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-006.js @@ -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 x = +0, y = -0 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-007.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-007.js new file mode 100644 index 000000000..4129aaf0a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-007.js @@ -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 x = -0, y = +0 +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-008.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-008.js new file mode 100644 index 000000000..c95c8b896 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-008.js @@ -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 x = 2.8, y = 3.4 +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-009.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-009.js new file mode 100644 index 000000000..da669b401 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-009.js @@ -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 x = "abg", y = 'abg' +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-010.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-010.js new file mode 100644 index 000000000..52f540cca --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-010.js @@ -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 x = "abg", y = 'abgs' +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-011.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-011.js new file mode 100644 index 000000000..8036fdc0f --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-011.js @@ -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 x = "abg", y = 'abh' +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-012.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-012.js new file mode 100644 index 000000000..08ee51550 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-012.js @@ -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 x = "abg", y = 'aBg' +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-013.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-013.js new file mode 100644 index 000000000..d00d69115 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-013.js @@ -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 x = true, y = true +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-014.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-014.js new file mode 100644 index 000000000..c6e0c9553 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-014.js @@ -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 x = false, y = false +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-015.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-015.js new file mode 100644 index 000000000..e4ed91359 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-015.js @@ -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 x = false, y = true +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-016.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-016.js new file mode 100644 index 000000000..67e5f1b20 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-016.js @@ -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 x = null, y = undefined +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-017.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-017.js new file mode 100644 index 000000000..89ea5dc23 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-017.js @@ -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 x = undefined, y = null +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-018.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-018.js new file mode 100644 index 000000000..0d745603a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-018.js @@ -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 x = 0.123, y = "0.123" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-019.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-019.js new file mode 100644 index 000000000..572b67dfe --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-019.js @@ -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 x = 0.123, y = "0.124" +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-020.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-020.js new file mode 100644 index 000000000..b31e32050 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-020.js @@ -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 x = 0.123, y = "0.123e0" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-021.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-021.js new file mode 100644 index 000000000..d222efb54 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-021.js @@ -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 x = 0.123, y = "0.123e+2" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-022.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-022.js new file mode 100644 index 000000000..a11f5659b --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-022.js @@ -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 x = 0.123, y = "0.123a" +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-023.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-023.js new file mode 100644 index 000000000..a91b466e7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-023.js @@ -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 x = 0.123, y = "b0.123" +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-024.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-024.js new file mode 100644 index 000000000..bddeeba95 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-024.js @@ -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 x = 0.123, y = "1.23e-1" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-025.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-025.js new file mode 100644 index 000000000..dffd3c303 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-025.js @@ -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 x = false, y = "-0" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-026.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-026.js new file mode 100644 index 000000000..7fc6fff8a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-026.js @@ -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 x = true, y = "+1" +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-027.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-027.js new file mode 100644 index 000000000..4f6f53e40 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-027.js @@ -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 x = true, y = "-1" +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-028.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-028.js new file mode 100644 index 000000000..2921dbc5c --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-028.js @@ -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 x = true, y = "true" +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-029.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-029.js new file mode 100644 index 000000000..f802647b8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-029.js @@ -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 x = true, y = "123" +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-030.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-030.js new file mode 100644 index 000000000..48d035deb --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-030.js @@ -0,0 +1,17 @@ +// 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 x = Object("abc") +b = x +assert(x == b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-031.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-031.js new file mode 100644 index 000000000..47ca841ea --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-031.js @@ -0,0 +1,18 @@ +// 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 x = Object("abc") +var y = Object("abc") +b = x, c = y +assert(c != b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-032.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-032.js new file mode 100644 index 000000000..7fba87e09 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-032.js @@ -0,0 +1,17 @@ +// 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 x = "a" +var y = 2 +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-033.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-033.js new file mode 100644 index 000000000..57c7f03e8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-033.js @@ -0,0 +1,17 @@ +// 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 x = "12.1e5" +var y = 1210000 +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-034.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-034.js new file mode 100644 index 000000000..bb8d2b69f --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-034.js @@ -0,0 +1,17 @@ +// 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 x = "1" +var y = true +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-035.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-035.js new file mode 100644 index 000000000..eba3d5f63 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-035.js @@ -0,0 +1,17 @@ +// 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 x = 0 +var y = false +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-036.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-036.js new file mode 100644 index 000000000..82692e702 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-036.js @@ -0,0 +1,17 @@ +// 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 x = 1e-324 +var y = false +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-037.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-037.js new file mode 100644 index 000000000..8d50e9b9e --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-037.js @@ -0,0 +1,17 @@ +// 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 x = 1e-323 +var y = false +assert(x != y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-038.js b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-038.js new file mode 100644 index 000000000..847a6eb65 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-038.js @@ -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 x = "0", y = Object(0) +assert(x == y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-001.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-001.js new file mode 100644 index 000000000..fe4b5edfe --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-001.js @@ -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 x, y = null +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-002.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-002.js new file mode 100644 index 000000000..08d9041f9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-002.js @@ -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 x, y = true +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-003.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-003.js new file mode 100644 index 000000000..f58f9af85 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-003.js @@ -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 x, y = "undefined" +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-004.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-004.js new file mode 100644 index 000000000..8ea2352b0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-004.js @@ -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 x, y = -37.2e-6 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-005.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-005.js new file mode 100644 index 000000000..dfcb1490e --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-005.js @@ -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 x, y = new Function() +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-006.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-006.js new file mode 100644 index 000000000..912a62be2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-006.js @@ -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 x = null, y = 0 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-007.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-007.js new file mode 100644 index 000000000..ebac77390 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-007.js @@ -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 x = false, y = 0 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-008.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-008.js new file mode 100644 index 000000000..45d7d7e96 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-008.js @@ -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 x = "0", y = 0 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-009.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-009.js new file mode 100644 index 000000000..61e39c072 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-009.js @@ -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 x = "0", y = Object(0) +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-010.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-010.js new file mode 100644 index 000000000..22fa8abe5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-010.js @@ -0,0 +1,17 @@ +// 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 x = "abc", y = new String("abc") + +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-011.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-011.js new file mode 100644 index 000000000..774ca2f65 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-011.js @@ -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 x, y +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-012.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-012.js new file mode 100644 index 000000000..ba9b3a5a1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-012.js @@ -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 x = y = null +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-013.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-013.js new file mode 100644 index 000000000..4e850e318 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-013.js @@ -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 x = NaN, y = 0 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-014.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-014.js new file mode 100644 index 000000000..1f00095e6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-014.js @@ -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 x = 0.0, y = NaN +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-015.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-015.js new file mode 100644 index 000000000..6778a7661 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-015.js @@ -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 x = NaN, y = NaN +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-016.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-016.js new file mode 100644 index 000000000..1da0a4658 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-016.js @@ -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 x = 123.00, y = 0.0123e+4 +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-017.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-017.js new file mode 100644 index 000000000..9e098db41 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-017.js @@ -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 x = 123.01, y = 0.0123e+4 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-018.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-018.js new file mode 100644 index 000000000..6f5e0e152 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-018.js @@ -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 x = +0, y = -0 +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-019.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-019.js new file mode 100644 index 000000000..f24d412c8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-019.js @@ -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 x = -0, y = +0 +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-020.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-020.js new file mode 100644 index 000000000..5cc14e8ef --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-020.js @@ -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 x = "12.6asdg$7_sfk/sf/adf\.3rqaf\u0102", y = "12.6asdg$7_sfk/sf/adf\.3rqaf\u0102" +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-021.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-021.js new file mode 100644 index 000000000..5c50bdf9a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-021.js @@ -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 x = true, y = true +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-022.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-022.js new file mode 100644 index 000000000..b278bb1d1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-022.js @@ -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 x = false, y = false +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-023.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-023.js new file mode 100644 index 000000000..8cf145d78 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-023.js @@ -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 x = false, y = true +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-024.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-024.js new file mode 100644 index 000000000..0b05d33da --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-024.js @@ -0,0 +1,17 @@ +// 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 x = new String("abc") +var y = x +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-025.js b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-025.js new file mode 100644 index 000000000..8bdbcac21 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.04/11.09.04-025.js @@ -0,0 +1,18 @@ +// 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 x = new String("abc") +var y = new String("abc") + +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-001.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-001.js new file mode 100644 index 000000000..fe4b5edfe --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-001.js @@ -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 x, y = null +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-002.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-002.js new file mode 100644 index 000000000..08d9041f9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-002.js @@ -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 x, y = true +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-003.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-003.js new file mode 100644 index 000000000..f58f9af85 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-003.js @@ -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 x, y = "undefined" +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-004.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-004.js new file mode 100644 index 000000000..8ea2352b0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-004.js @@ -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 x, y = -37.2e-6 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-005.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-005.js new file mode 100644 index 000000000..dfcb1490e --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-005.js @@ -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 x, y = new Function() +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-006.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-006.js new file mode 100644 index 000000000..912a62be2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-006.js @@ -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 x = null, y = 0 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-007.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-007.js new file mode 100644 index 000000000..ebac77390 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-007.js @@ -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 x = false, y = 0 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-008.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-008.js new file mode 100644 index 000000000..45d7d7e96 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-008.js @@ -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 x = "0", y = 0 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-009.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-009.js new file mode 100644 index 000000000..61e39c072 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-009.js @@ -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 x = "0", y = Object(0) +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-010.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-010.js new file mode 100644 index 000000000..73f059938 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-010.js @@ -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 x = "abc", y = new String("abc") +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-011.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-011.js new file mode 100644 index 000000000..774ca2f65 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-011.js @@ -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 x, y +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-012.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-012.js new file mode 100644 index 000000000..ba9b3a5a1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-012.js @@ -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 x = y = null +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-013.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-013.js new file mode 100644 index 000000000..4e850e318 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-013.js @@ -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 x = NaN, y = 0 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-014.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-014.js new file mode 100644 index 000000000..1f00095e6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-014.js @@ -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 x = 0.0, y = NaN +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-015.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-015.js new file mode 100644 index 000000000..6778a7661 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-015.js @@ -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 x = NaN, y = NaN +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-016.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-016.js new file mode 100644 index 000000000..1da0a4658 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-016.js @@ -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 x = 123.00, y = 0.0123e+4 +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-017.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-017.js new file mode 100644 index 000000000..9e098db41 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-017.js @@ -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 x = 123.01, y = 0.0123e+4 +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-018.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-018.js new file mode 100644 index 000000000..6f5e0e152 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-018.js @@ -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 x = +0, y = -0 +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-019.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-019.js new file mode 100644 index 000000000..f24d412c8 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-019.js @@ -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 x = -0, y = +0 +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-020.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-020.js new file mode 100644 index 000000000..5cc14e8ef --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-020.js @@ -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 x = "12.6asdg$7_sfk/sf/adf\.3rqaf\u0102", y = "12.6asdg$7_sfk/sf/adf\.3rqaf\u0102" +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-021.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-021.js new file mode 100644 index 000000000..5c50bdf9a --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-021.js @@ -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 x = true, y = true +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-022.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-022.js new file mode 100644 index 000000000..b278bb1d1 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-022.js @@ -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 x = false, y = false +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-023.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-023.js new file mode 100644 index 000000000..8cf145d78 --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-023.js @@ -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 x = false, y = true +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-024.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-024.js new file mode 100644 index 000000000..0b05d33da --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-024.js @@ -0,0 +1,17 @@ +// 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 x = new String("abc") +var y = x +assert(x === y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-025.js b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-025.js new file mode 100644 index 000000000..66c9b86ed --- /dev/null +++ b/tests/jerry-test-suite/11/11.09/11.09.05/11.09.05-025.js @@ -0,0 +1,17 @@ +// 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 x = new String("abc") +var y = new String("abc") +assert(x !== y) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-001.js b/tests/jerry-test-suite/11/11.10/11.10-001.js new file mode 100644 index 000000000..f122d2eaa --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-001.js @@ -0,0 +1,17 @@ +// 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 a = 10; +a = 1 & 2; +assert(a == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-002.js b/tests/jerry-test-suite/11/11.10/11.10-002.js new file mode 100644 index 000000000..090f50dde --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-002.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b = 1; +a & b; +assert(a == 4 && b == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-003.js b/tests/jerry-test-suite/11/11.10/11.10-003.js new file mode 100644 index 000000000..fcafc143d --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-003.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b = "0"; +a = 1 & b; +assert(a == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-004.js b/tests/jerry-test-suite/11/11.10/11.10-004.js new file mode 100644 index 000000000..f9f6e1c40 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-004.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b = null; +a = 1 & b; +assert(a == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-005.js b/tests/jerry-test-suite/11/11.10/11.10-005.js new file mode 100644 index 000000000..a715aa1f0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-005.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b; +a = 1 & b; +assert(a == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-006.js b/tests/jerry-test-suite/11/11.10/11.10-006.js new file mode 100644 index 000000000..8a25c768c --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-006.js @@ -0,0 +1,17 @@ +// 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 a; +a = 4 | 1; +assert(a == 5) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-007.js b/tests/jerry-test-suite/11/11.10/11.10-007.js new file mode 100644 index 000000000..cf45259f5 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-007.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b = 1; +a | b; +assert(a == 4 && b == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-008.js b/tests/jerry-test-suite/11/11.10/11.10-008.js new file mode 100644 index 000000000..ae4f85b08 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-008.js @@ -0,0 +1,18 @@ +// 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 a; +var b = "0"; +a = 1 | b; +assert(a == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-009.js b/tests/jerry-test-suite/11/11.10/11.10-009.js new file mode 100644 index 000000000..cf65feee0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-009.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b = null; +a = 1 | b; +assert(a == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-010.js b/tests/jerry-test-suite/11/11.10/11.10-010.js new file mode 100644 index 000000000..e983e43e2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-010.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b; +a = 1 | b; +assert(a == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-011.js b/tests/jerry-test-suite/11/11.10/11.10-011.js new file mode 100644 index 000000000..a39e77541 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-011.js @@ -0,0 +1,17 @@ +// 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 a; +a = 1 ^ 3; +assert(a == 2) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-012.js b/tests/jerry-test-suite/11/11.10/11.10-012.js new file mode 100644 index 000000000..7700488c0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-012.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b = 1; +a ^ b; +assert(a == 4 && b == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-013.js b/tests/jerry-test-suite/11/11.10/11.10-013.js new file mode 100644 index 000000000..d85d434c7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-013.js @@ -0,0 +1,18 @@ +// 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 a; +var b = "0"; +a = 1 ^ b; +assert(a == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-014.js b/tests/jerry-test-suite/11/11.10/11.10-014.js new file mode 100644 index 000000000..07c329821 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-014.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b = null; +a = 1 ^ b; +assert(a == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-015.js b/tests/jerry-test-suite/11/11.10/11.10-015.js new file mode 100644 index 000000000..8f333b770 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-015.js @@ -0,0 +1,18 @@ +// 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 a = 4; +var b; +a = 1 ^ b; +assert(a == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-016.js b/tests/jerry-test-suite/11/11.10/11.10-016.js new file mode 100644 index 000000000..85254ffa6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-016.js @@ -0,0 +1,17 @@ +// 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 a = 10; +a = 1 & 2147483648; +assert(a == 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-017.js b/tests/jerry-test-suite/11/11.10/11.10-017.js new file mode 100644 index 000000000..8bbe28d84 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-017.js @@ -0,0 +1,17 @@ +// 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 a = 10; +a = 1 & 2147483647; +assert(a == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.10/11.10-018.js b/tests/jerry-test-suite/11/11.10/11.10-018.js new file mode 100644 index 000000000..384f7be86 --- /dev/null +++ b/tests/jerry-test-suite/11/11.10/11.10-018.js @@ -0,0 +1,17 @@ +// 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 a = 10; +a = 2147483647 & 2147483649; +assert(a == 1) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-001.js b/tests/jerry-test-suite/11/11.11/11.11-001.js new file mode 100644 index 000000000..b8a36e98f --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-001.js @@ -0,0 +1,17 @@ +// 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 a = true; +var b = false; +assert((a && b) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-002.js b/tests/jerry-test-suite/11/11.11/11.11-002.js new file mode 100644 index 000000000..f596dd47c --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-002.js @@ -0,0 +1,17 @@ +// 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 a = true; +var b = true; +assert((a && b) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-003.js b/tests/jerry-test-suite/11/11.11/11.11-003.js new file mode 100644 index 000000000..b9b7fea6d --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-003.js @@ -0,0 +1,17 @@ +// 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 a = false; +var b = false; +assert((a && b) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-004.js b/tests/jerry-test-suite/11/11.11/11.11-004.js new file mode 100644 index 000000000..712d6c3ed --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-004.js @@ -0,0 +1,17 @@ +// 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 a = false; +var b = new Object(); +assert((a && b) === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-005.js b/tests/jerry-test-suite/11/11.11/11.11-005.js new file mode 100644 index 000000000..17a88cf97 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-005.js @@ -0,0 +1,17 @@ +// 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 a = true; +var b = new Object(); +assert((a && b) === b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-006.js b/tests/jerry-test-suite/11/11.11/11.11-006.js new file mode 100644 index 000000000..5d46c227e --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-006.js @@ -0,0 +1,17 @@ +// 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 a = "not empty string"; // will be converted to true +var b = new Object(); +assert((a && b) !== b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-007.js b/tests/jerry-test-suite/11/11.11/11.11-007.js new file mode 100644 index 000000000..d84216d85 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-007.js @@ -0,0 +1,17 @@ +// 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 a = ""; // empty string - false +var b = new Object(); +assert((a && b) !== a) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-008.js b/tests/jerry-test-suite/11/11.11/11.11-008.js new file mode 100644 index 000000000..0675aa327 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-008.js @@ -0,0 +1,17 @@ +// 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 a = 0; +var b = new Object(); +assert((a && b) === 0) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-009.js b/tests/jerry-test-suite/11/11.11/11.11-009.js new file mode 100644 index 000000000..813a56f83 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-009.js @@ -0,0 +1,17 @@ +// 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 a = NaN; +var b = new Object(); +assert((!a && b)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-010.js b/tests/jerry-test-suite/11/11.11/11.11-010.js new file mode 100644 index 000000000..9f7be82bf --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-010.js @@ -0,0 +1,17 @@ +// 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 a = 12345; // -> true +var b = new Object(); +assert((a && b) === b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-011.js b/tests/jerry-test-suite/11/11.11/11.11-011.js new file mode 100644 index 000000000..ff3fb4741 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-011.js @@ -0,0 +1,17 @@ +// 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 a = null; // -> false +var b = new Object(); +assert((a && b) === a) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-012.js b/tests/jerry-test-suite/11/11.11/11.11-012.js new file mode 100644 index 000000000..b0670b3c2 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-012.js @@ -0,0 +1,17 @@ +// 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 a = undefined; // -> false +var b = new Object(); +assert((a && b) === a) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-013.js b/tests/jerry-test-suite/11/11.11/11.11-013.js new file mode 100644 index 000000000..b0bade9ee --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-013.js @@ -0,0 +1,17 @@ +// 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 a = new Object; +var b = new Object; +assert((a && b) === b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-014.js b/tests/jerry-test-suite/11/11.11/11.11-014.js new file mode 100644 index 000000000..9e0136b62 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-014.js @@ -0,0 +1,17 @@ +// 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 a = true; +var b = false; +assert((a || b) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-015.js b/tests/jerry-test-suite/11/11.11/11.11-015.js new file mode 100644 index 000000000..8886fb3b6 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-015.js @@ -0,0 +1,17 @@ +// 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 a = true; +var b = true; +assert((a || b) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-016.js b/tests/jerry-test-suite/11/11.11/11.11-016.js new file mode 100644 index 000000000..df426a87d --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-016.js @@ -0,0 +1,17 @@ +// 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 a = false; +var b = true; +assert((a || b) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-017.js b/tests/jerry-test-suite/11/11.11/11.11-017.js new file mode 100644 index 000000000..0cba957d0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-017.js @@ -0,0 +1,17 @@ +// 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 a = false; +var b = false; +assert((a || b) === false) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-018.js b/tests/jerry-test-suite/11/11.11/11.11-018.js new file mode 100644 index 000000000..ea3fef24e --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-018.js @@ -0,0 +1,17 @@ +// 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 a = true; +var b = new Object; +assert((a || b) === true) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-019.js b/tests/jerry-test-suite/11/11.11/11.11-019.js new file mode 100644 index 000000000..67f9902ce --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-019.js @@ -0,0 +1,17 @@ +// 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 a = false; +var b = new Object; +assert((a || b) === b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-020.js b/tests/jerry-test-suite/11/11.11/11.11-020.js new file mode 100644 index 000000000..23175dd4a --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-020.js @@ -0,0 +1,18 @@ +// 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 a1 = +0; +var a2 = -0; +var b = new Object; +assert(((a1 || b) === b) && ((a2 || b) === b)) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-021.js b/tests/jerry-test-suite/11/11.11/11.11-021.js new file mode 100644 index 000000000..9342903ac --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-021.js @@ -0,0 +1,17 @@ +// 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 a = NaN; +var b = new Object; +assert((a || b) === b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-022.js b/tests/jerry-test-suite/11/11.11/11.11-022.js new file mode 100644 index 000000000..30634aba7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-022.js @@ -0,0 +1,17 @@ +// 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 a = 123.456; +var b = new Object; +assert((a || b) === a) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-023.js b/tests/jerry-test-suite/11/11.11/11.11-023.js new file mode 100644 index 000000000..013c15bf7 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-023.js @@ -0,0 +1,17 @@ +// 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 a = "non empty string";//-> true +var b = new Object; +assert((a || b) === a) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-024.js b/tests/jerry-test-suite/11/11.11/11.11-024.js new file mode 100644 index 000000000..a8c26c9a9 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-024.js @@ -0,0 +1,17 @@ +// 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 a = "";//-> false +var b = new Object; +assert((a || b) === b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-025.js b/tests/jerry-test-suite/11/11.11/11.11-025.js new file mode 100644 index 000000000..d3f541291 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-025.js @@ -0,0 +1,17 @@ +// 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 a = null;//->false +var b = Number(123.5e5); +assert((a || b) === b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-026.js b/tests/jerry-test-suite/11/11.11/11.11-026.js new file mode 100644 index 000000000..50757530c --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-026.js @@ -0,0 +1,17 @@ +// 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 a = undefined; +var b = new String("123"); +assert((a || b) === b) \ No newline at end of file diff --git a/tests/jerry-test-suite/11/11.11/11.11-027.js b/tests/jerry-test-suite/11/11.11/11.11-027.js new file mode 100644 index 000000000..4bf10c8d0 --- /dev/null +++ b/tests/jerry-test-suite/11/11.11/11.11-027.js @@ -0,0 +1,17 @@ +// 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 a = new Object; +var b = "who cares, what is this?"; +assert((a || b) === a) \ No newline at end of file