From 7f8f03ad2063ab50d0e52ed3ca167452ba083233 Mon Sep 17 00:00:00 2001 From: "e.gavrin" Date: Tue, 7 Oct 2014 17:43:18 +0400 Subject: [PATCH] Add test on chapter 15 --- .../15/15.02/15.02.01/15.02.01-001.js | 18 +++++++ .../15/15.02/15.02.01/15.02.01-002.js | 18 +++++++ .../15/15.02/15.02.01/15.02.01-003.js | 18 +++++++ .../15/15.02/15.02.01/15.02.01-004.js | 17 ++++++ .../15/15.02/15.02.01/15.02.01-005.js | 17 ++++++ .../15/15.02/15.02.01/15.02.01-006.js | 16 ++++++ .../15/15.02/15.02.01/15.02.01-007.js | 17 ++++++ .../15/15.02/15.02.01/15.02.01-008.js | 16 ++++++ .../15/15.02/15.02.01/15.02.01-009.js | 16 ++++++ .../15/15.02/15.02.01/15.02.01-010.js | 16 ++++++ .../15/15.02/15.02.02/15.02.02-001.js | 17 ++++++ .../15/15.02/15.02.02/15.02.02-002.js | 18 +++++++ .../15/15.02/15.02.02/15.02.02-003.js | 17 ++++++ .../15/15.02/15.02.02/15.02.02-004.js | 23 ++++++++ .../15/15.02/15.02.02/15.02.02-005.js | 17 ++++++ .../15/15.02/15.02.02/15.02.02-006.js | 17 ++++++ .../15/15.02/15.02.02/15.02.02-007.js | 17 ++++++ .../15/15.02/15.02.02/15.02.02-008.js | 19 +++++++ .../15/15.02/15.02.02/15.02.02-009.js | 18 +++++++ .../15/15.02/15.02.02/15.02.02-010.js | 19 +++++++ .../15/15.02/15.02.03/15.02.03-001.js | 16 ++++++ .../15/15.02/15.02.03/15.02.03-002.js | 15 ++++++ .../15/15.02/15.02.03/15.02.03-003.js | 33 ++++++++++++ .../15/15.02/15.02.03/15.02.03-004.js | 28 ++++++++++ .../15/15.02/15.02.03/15.02.03-005.js | 19 +++++++ .../15/15.02/15.02.03/15.02.03-006.js | 29 ++++++++++ .../15/15.02/15.02.03/15.02.03-007.js | 22 ++++++++ .../15/15.02/15.02.03/15.02.03-008.js | 29 ++++++++++ .../15/15.02/15.02.03/15.02.03-009.js | 31 +++++++++++ .../15/15.02/15.02.03/15.02.03-010.js | 21 ++++++++ .../15/15.02/15.02.03/15.02.03-011.js | 29 ++++++++++ .../15/15.02/15.02.03/15.02.03-012.js | 26 +++++++++ .../15/15.02/15.02.03/15.02.03-013.js | 28 ++++++++++ .../15/15.02/15.02.03/15.02.03-014.js | 22 ++++++++ .../15/15.02/15.02.03/15.02.03-015.js | 19 +++++++ .../15/15.02/15.02.03/15.02.03-016.js | 49 +++++++++++++++++ .../15/15.02/15.02.03/15.02.03-017.js | 25 +++++++++ .../15/15.02/15.02.03/15.02.03-018.js | 29 ++++++++++ .../15/15.02/15.02.03/15.02.03-019.js | 53 +++++++++++++++++++ .../15/15.02/15.02.03/15.02.03-020.js | 44 +++++++++++++++ .../15/15.02/15.02.03/15.02.03-021.js | 52 ++++++++++++++++++ .../15/15.02/15.02.04/15.02.04-001.js | 15 ++++++ .../15/15.02/15.02.04/15.02.04-002.js | 15 ++++++ .../15.02.04/15.02.04.01/15.02.04.01-001.js | 15 ++++++ .../15.02.04/15.02.04.01/15.02.04.01-002.js | 15 ++++++ .../15.02.04/15.02.04.02/15.02.04.02-001.js | 15 ++++++ .../15.02.04/15.02.04.02/15.02.04.02-002.js | 15 ++++++ .../15.02.04/15.02.04.02/15.02.04.02-003.js | 16 ++++++ .../15.02.04/15.02.04.02/15.02.04.02-004.js | 15 ++++++ .../15.02.04/15.02.04.03/15.02.04.03-001.js | 15 ++++++ .../15.02.04/15.02.04.03/15.02.04.03-002.js | 17 ++++++ .../15.02.04/15.02.04.03/15.02.04.03-003.js | 15 ++++++ .../15.02.04/15.02.04.04/15.02.04.04-001.js | 16 ++++++ .../15.02.04/15.02.04.04/15.02.04.04-002.js | 18 +++++++ .../15.02.04/15.02.04.04/15.02.04.04-003.js | 20 +++++++ .../15.02.04/15.02.04.04/15.02.04.04-004.js | 17 ++++++ .../15.02.04/15.02.04.04/15.02.04.04-005.js | 17 ++++++ .../15.02.04/15.02.04.04/15.02.04.04-006.js | 17 ++++++ .../15.02.04/15.02.04.04/15.02.04.04-007.js | 17 ++++++ .../15.02.04/15.02.04.04/15.02.04.04-008.js | 16 ++++++ .../15.02.04/15.02.04.04/15.02.04.04-009.js | 16 ++++++ .../15.02.04/15.02.04.04/15.02.04.04-010.js | 16 ++++++ .../15.02.04/15.02.04.05/15.02.04.05-001.js | 21 ++++++++ .../15.02.04/15.02.04.05/15.02.04.05-002.js | 19 +++++++ .../15.02.04/15.02.04.05/15.02.04.05-003.js | 27 ++++++++++ .../15.02.04/15.02.04.05/15.02.04.05-004.js | 27 ++++++++++ .../15.02.04/15.02.04.06/15.02.04.06-001.js | 19 +++++++ .../15.02.04/15.02.04.06/15.02.04.06-002.js | 18 +++++++ .../15.02.04/15.02.04.06/15.02.04.06-003.js | 18 +++++++ .../15.02.04/15.02.04.06/15.02.04.06-004.js | 16 ++++++ .../15.02.04/15.02.04.06/15.02.04.06-005.js | 17 ++++++ .../15.02.04/15.02.04.06/15.02.04.06-006.js | 15 ++++++ .../15.02.04/15.02.04.07/15.02.04.07-001.js | 19 +++++++ .../15.02.04/15.02.04.07/15.02.04.07-002.js | 26 +++++++++ .../15.02.04/15.02.04.07/15.02.04.07-003.js | 26 +++++++++ .../15.03.02/15.03.02.01/15.03.02.01-001.js | 16 ++++++ .../15.03.02/15.03.02.01/15.03.02.01-002.js | 22 ++++++++ .../15.03.02/15.03.02.01/15.03.02.01-004.js | 22 ++++++++ .../15.03.02/15.03.02.01/15.03.02.01-005.js | 24 +++++++++ .../15.03.02/15.03.02.01/15.03.02.01-007.js | 22 ++++++++ .../15.03.02/15.03.02.01/15.03.02.01-008.js | 24 +++++++++ .../15.03.02/15.03.02.01/15.03.02.01-009.js | 24 +++++++++ .../15.03.02/15.03.02.01/15.03.02.01-010.js | 17 ++++++ .../15.03.02/15.03.02.01/15.03.02.01-011.js | 18 +++++++ .../15.03.02/15.03.02.01/15.03.02.01-012s.js | 24 +++++++++ .../15/15.03/15.03.03/15.03.03-001.js | 15 ++++++ .../15/15.03/15.03.03/15.03.03-002.js | 15 ++++++ .../15/15.03/15.03.03/15.03.03-003.js | 16 ++++++ .../15/15.03/15.03.03/15.03.03-004.js | 16 ++++++ .../15.03.03/15.03.03.01/15.03.03.01-001.js | 35 ++++++++++++ .../15.03.03/15.03.03.01/15.03.03.01-002.js | 31 +++++++++++ .../15.03.03/15.03.03.01/15.03.03.01-003.js | 20 +++++++ .../15.03.03/15.03.03.01/15.03.03.01-004.js | 21 ++++++++ .../15.03.03/15.03.03.02/15.03.03.02-001.js | 19 +++++++ .../15.03.04/15.03.04.02/15.03.04.02-001.js | 17 ++++++ .../15.03.04/15.03.04.02/15.03.04.02-002.js | 24 +++++++++ .../15.03.04/15.03.04.02/15.03.04.02-003.js | 20 +++++++ .../15.03.04/15.03.04.02/15.03.04.02-004.js | 17 ++++++ .../15.03.04/15.03.04.02/15.03.04.02-005.js | 23 ++++++++ .../15.03.04/15.03.04.02/15.03.04.02-006.js | 17 ++++++ .../15.04.02/15.04.02.01/15.04.02.01-001.js | 16 ++++++ .../15.04.02/15.04.02.01/15.04.02.01-002.js | 16 ++++++ .../15.04.02/15.04.02.01/15.04.02.01-003.js | 16 ++++++ .../15.04.02/15.04.02.01/15.04.02.01-004.js | 16 ++++++ .../15.04.02/15.04.02.01/15.04.02.01-005.js | 16 ++++++ .../15.04.02/15.04.02.01/15.04.02.01-006.js | 16 ++++++ .../15.04.02/15.04.02.01/15.04.02.01-007.js | 16 ++++++ .../15.04.02/15.04.02.01/15.04.02.01-008.js | 16 ++++++ .../15.04.02/15.04.02.02/15.04.02.02-001.js | 16 ++++++ .../15.04.02/15.04.02.02/15.04.02.02-002.js | 16 ++++++ .../15.04.02/15.04.02.02/15.04.02.02-003.js | 16 ++++++ .../15.04.02/15.04.02.02/15.04.02.02-004.js | 16 ++++++ .../15.04.02/15.04.02.02/15.04.02.02-005.js | 16 ++++++ .../15.04.02/15.04.02.02/15.04.02.02-006.js | 16 ++++++ .../15.04.02/15.04.02.02/15.04.02.02-007.js | 16 ++++++ .../15.04.02/15.04.02.02/15.04.02.02-008.js | 16 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-001.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-002.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-003.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-004.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-005.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-006.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-007.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-008.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-009.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-010.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-011.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-012.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-013.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-014.js | 15 ++++++ .../15.05.01/15.05.01.01/15.05.01.01-015.js | 15 ++++++ .../15.05.02/15.05.02.01/15.05.02.01-001.js | 15 ++++++ .../15.05.02/15.05.02.01/15.05.02.01-002.js | 17 ++++++ .../15.05.03/15.05.03.01/15.05.03.01-001.js | 16 ++++++ .../15.05.03/15.05.03.01/15.05.03.01-002.js | 19 +++++++ .../15.05.03/15.05.03.02/15.05.03.02-001.js | 15 ++++++ .../15.05.03/15.05.03.02/15.05.03.02-002.js | 15 ++++++ .../15.05.04/15.05.04.01/15.05.04.01-001.js | 15 ++++++ .../15.05.04/15.05.04.02/15.05.04.02-001.js | 15 ++++++ .../15.05.04/15.05.04.02/15.05.04.02-002.js | 15 ++++++ .../15.05.04/15.05.04.03/15.05.04.03-001.js | 15 ++++++ .../15.05.04/15.05.04.04/15.05.04.04-001.js | 15 ++++++ .../15.05.04/15.05.04.04/15.05.04.04-002.js | 15 ++++++ .../15.05.04/15.05.04.04/15.05.04.04-003.js | 15 ++++++ .../15.05.04/15.05.04.04/15.05.04.04-004.js | 15 ++++++ .../15.05.04/15.05.04.05/15.05.04.05-001.js | 15 ++++++ .../15.05.04/15.05.04.05/15.05.04.05-002.js | 15 ++++++ .../15.05.04/15.05.04.05/15.05.04.05-003.js | 15 ++++++ .../15.05.04/15.05.04.05/15.05.04.05-004.js | 15 ++++++ .../15.05.04/15.05.04.06/15.05.04.06-001.js | 15 ++++++ .../15.05.04/15.05.04.06/15.05.04.06-002.js | 15 ++++++ .../15.05.04/15.05.04.06/15.05.04.06-003.js | 15 ++++++ .../15.05.04/15.05.04.06/15.05.04.06-004.js | 15 ++++++ .../15.05.04/15.05.04.07/15.05.04.07-001.js | 15 ++++++ .../15.05.04/15.05.04.07/15.05.04.07-002.js | 15 ++++++ .../15.05.04/15.05.04.07/15.05.04.07-003.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-001.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-002.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-003.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-004.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-005.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-006.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-007.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-008.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-009.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-010.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-011.js | 15 ++++++ .../15.06.01/15.06.01.01/15.06.01.01-012.js | 15 ++++++ .../15.06.02/15.06.02.01/15.06.02.01-001.js | 15 ++++++ .../15.06.02/15.06.02.01/15.06.02.01-002.js | 17 ++++++ .../15.06.03/15.06.03.01/15.06.03.01-001.js | 19 +++++++ .../15.06.04/15.06.04.01/15.06.04.01-001.js | 15 ++++++ .../15.06.04/15.06.04.02/15.06.04.02-001.js | 15 ++++++ .../15.06.04/15.06.04.02/15.06.04.02-002.js | 15 ++++++ .../15.06.04/15.06.04.02/15.06.04.02-003.js | 15 ++++++ .../15.06.04/15.06.04.03/15.06.04.03-001.js | 15 ++++++ tests/jerry-test-suite/15/15.07/15.07-001.js | 18 +++++++ tests/jerry-test-suite/15/15.07/15.07-002.js | 18 +++++++ .../15/15.07/15.07.01/15.07.01-001.js | 29 ++++++++++ .../15/15.07/15.07.01/15.07.01-002.js | 15 ++++++ .../15/15.07/15.07.01/15.07.01-003.js | 16 ++++++ .../15/15.07/15.07.01/15.07.01-004.js | 15 ++++++ .../15/15.07/15.07.01/15.07.01-005.js | 15 ++++++ .../15/15.07/15.07.01/15.07.01-006.js | 16 ++++++ .../15/15.07/15.07.01/15.07.01-007.js | 16 ++++++ .../15/15.07/15.07.01/15.07.01-008.js | 15 ++++++ .../15/15.07/15.07.01/15.07.01-009.js | 15 ++++++ .../15/15.07/15.07.01/15.07.01-010.js | 18 +++++++ .../15/15.07/15.07.02/15.07.02-001.js | 16 ++++++ .../15/15.07/15.07.02/15.07.02-002.js | 16 ++++++ .../15/15.07/15.07.02/15.07.02-003.js | 19 +++++++ .../15/15.07/15.07.02/15.07.02-004.js | 18 +++++++ .../15/15.07/15.07.02/15.07.02-005.js | 20 +++++++ .../15/15.07/15.07.02/15.07.02-006.js | 19 +++++++ .../15/15.07/15.07.02/15.07.02-007.js | 17 ++++++ .../15/15.07/15.07.02/15.07.02-008.js | 16 ++++++ .../15/15.07/15.07.02/15.07.02-009.js | 16 ++++++ .../15/15.07/15.07.02/15.07.02-010.js | 19 +++++++ .../15/15.07/15.07.02/15.07.02-011.js | 16 ++++++ .../15/15.07/15.07.03/15.07.03-001.js | 15 ++++++ .../15/15.07/15.07.03/15.07.03-002.js | 15 ++++++ .../15/15.07/15.07.03/15.07.03-003.js | 15 ++++++ .../15/15.07/15.07.03/15.07.03-004.js | 16 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-001.js | 15 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-002.js | 19 +++++++ .../15.07.03/15.07.03.01/15.07.03.01-003.js | 15 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-004.js | 17 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-005.js | 15 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-006.js | 15 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-007.js | 21 ++++++++ .../15.07.03/15.07.03.01/15.07.03.01-008.js | 16 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-009.js | 16 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-010.js | 15 ++++++ .../15.07.03/15.07.03.01/15.07.03.01-011.js | 15 ++++++ .../15.07.03/15.07.03.02/15.07.03.02-001.js | 15 ++++++ .../15.07.03/15.07.03.02/15.07.03.02-002.js | 15 ++++++ .../15.07.03/15.07.03.02/15.07.03.02-003.js | 15 ++++++ .../15.07.03/15.07.03.02/15.07.03.02-004.js | 17 ++++++ .../15.07.03/15.07.03.02/15.07.03.02-005.js | 15 ++++++ .../15.07.03/15.07.03.02/15.07.03.02-006.js | 21 ++++++++ .../15.07.03/15.07.03.03/15.07.03.03-001.js | 15 ++++++ .../15.07.03/15.07.03.03/15.07.03.03-002.js | 15 ++++++ .../15.07.03/15.07.03.03/15.07.03.03-003.js | 15 ++++++ .../15.07.03/15.07.03.03/15.07.03.03-004.js | 17 ++++++ .../15.07.03/15.07.03.03/15.07.03.03-005.js | 15 ++++++ .../15.07.03/15.07.03.03/15.07.03.03-006.js | 21 ++++++++ .../15.07.03/15.07.03.04/15.07.03.04-001.js | 15 ++++++ .../15.07.03/15.07.03.04/15.07.03.04-002.js | 15 ++++++ .../15.07.03/15.07.03.04/15.07.03.04-003.js | 21 ++++++++ .../15.07.03/15.07.03.04/15.07.03.04-004.js | 16 ++++++ .../15.07.03/15.07.03.04/15.07.03.04-005.js | 15 ++++++ .../15.07.03/15.07.03.05/15.07.03.05-001.js | 15 ++++++ .../15.07.03/15.07.03.05/15.07.03.05-002.js | 15 ++++++ .../15.07.03/15.07.03.05/15.07.03.05-003.js | 15 ++++++ .../15.07.03/15.07.03.05/15.07.03.05-004.js | 17 ++++++ .../15.07.03/15.07.03.05/15.07.03.05-005.js | 15 ++++++ .../15.07.03/15.07.03.05/15.07.03.05-006.js | 21 ++++++++ .../15.07.03/15.07.03.05/15.07.03.05-007.js | 15 ++++++ .../15.07.03/15.07.03.06/15.07.03.06-001.js | 15 ++++++ .../15.07.03/15.07.03.06/15.07.03.06-002.js | 15 ++++++ .../15.07.03/15.07.03.06/15.07.03.06-003.js | 15 ++++++ .../15.07.03/15.07.03.06/15.07.03.06-004.js | 17 ++++++ .../15.07.03/15.07.03.06/15.07.03.06-005.js | 15 ++++++ .../15.07.03/15.07.03.06/15.07.03.06-006.js | 21 ++++++++ .../15.07.03/15.07.03.06/15.07.03.06-007.js | 15 ++++++ .../15/15.07/15.07.04/15.07.04-001.js | 16 ++++++ .../15/15.07/15.07.04/15.07.04-002.js | 15 ++++++ .../15/15.07/15.07.04/15.07.04-003.js | 15 ++++++ .../15.07.04/15.07.04.01/15.07.04.01-001.js | 15 ++++++ .../15.07.04/15.07.04.01/15.07.04.01-002.js | 15 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-001.js | 16 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-002.js | 16 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-003.js | 16 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-004.js | 16 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-005.js | 16 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-006.js | 15 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-008.js | 15 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-009.js | 16 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-010.js | 15 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-011.js | 15 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-012.js | 15 ++++++ .../15.07.04/15.07.04.02/15.07.04.02-013.js | 15 ++++++ .../15.07.04/15.07.04.05/15.07.04.05-001.js | 15 ++++++ .../15.07.04/15.07.04.05/15.07.04.05-002.js | 15 ++++++ .../15.07.04/15.07.04.05/15.07.04.05-003.js | 15 ++++++ .../15.07.04/15.07.04.05/15.07.04.05-004.js | 15 ++++++ .../15.07.04/15.07.04.05/15.07.04.05-005.js | 15 ++++++ .../15.07.04/15.07.04.05/15.07.04.05-006.js | 15 ++++++ .../15.07.04/15.07.04.05/15.07.04.05-007.js | 15 ++++++ .../15.07.04/15.07.04.05/15.07.04.05-008.js | 15 ++++++ .../15.08.02/15.08.02.01/15.08.02.01-001.js | 15 ++++++ .../15.08.02/15.08.02.01/15.08.02.01-002.js | 15 ++++++ .../15.08.02/15.08.02.01/15.08.02.01-003.js | 15 ++++++ .../15.08.02/15.08.02.01/15.08.02.01-004.js | 15 ++++++ .../15.08.02/15.08.02.01/15.08.02.01-005.js | 15 ++++++ .../15.08.02/15.08.02.02/15.08.02.02-001.js | 15 ++++++ .../15.08.02/15.08.02.02/15.08.02.02-002.js | 15 ++++++ .../15.08.02/15.08.02.02/15.08.02.02-003.js | 15 ++++++ .../15.08.02/15.08.02.02/15.08.02.02-004.js | 15 ++++++ .../15.08.02/15.08.02.02/15.08.02.02-005.js | 15 ++++++ .../15.08.02/15.08.02.02/15.08.02.02-006.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-001.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-002.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-003.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-004.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-005.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-006.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-007.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-008.js | 15 ++++++ .../15.08.02/15.08.02.03/15.08.02.03-009.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-001.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-002.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-003.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-004.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-005.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-006.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-007.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-008.js | 15 ++++++ .../15.08.02/15.08.02.04/15.08.02.04-009.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-001.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-002.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-003.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-004.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-005.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-006.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-007.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-008.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-009.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-010.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-011.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-012.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-013.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-014.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-015.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-016.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-017.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-018.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-019.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-020.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-021.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-022.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-023.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-024.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-025.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-026.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-027.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-028.js | 15 ++++++ .../15.08.02/15.08.02.05/15.08.02.05-029.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-001.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-002.js | 16 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-003.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-004.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-005.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-006.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-007.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-008.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-009.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-010.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-011.js | 15 ++++++ .../15.08.02/15.08.02.06/15.08.02.06-012.js | 15 ++++++ .../15.08.02/15.08.02.07/15.08.02.07-001.js | 15 ++++++ .../15.08.02/15.08.02.07/15.08.02.07-002.js | 16 ++++++ .../15.08.02/15.08.02.07/15.08.02.07-003.js | 15 ++++++ .../15.08.02/15.08.02.07/15.08.02.07-004.js | 15 ++++++ .../15.08.02/15.08.02.07/15.08.02.07-005.js | 15 ++++++ .../15.08.02/15.08.02.07/15.08.02.07-006.js | 15 ++++++ .../15.08.02/15.08.02.07/15.08.02.07-007.js | 15 ++++++ .../15.08.02/15.08.02.08/15.08.02.08-001.js | 15 ++++++ .../15.08.02/15.08.02.08/15.08.02.08-002.js | 15 ++++++ .../15.08.02/15.08.02.08/15.08.02.08-003.js | 15 ++++++ .../15.08.02/15.08.02.08/15.08.02.08-004.js | 15 ++++++ .../15.08.02/15.08.02.08/15.08.02.08-005.js | 15 ++++++ .../15.08.02/15.08.02.08/15.08.02.08-006.js | 15 ++++++ .../15.08.02/15.08.02.09/15.08.02.09-001.js | 15 ++++++ .../15.08.02/15.08.02.09/15.08.02.09-002.js | 15 ++++++ .../15.08.02/15.08.02.09/15.08.02.09-003.js | 15 ++++++ .../15.08.02/15.08.02.09/15.08.02.09-004.js | 15 ++++++ .../15.08.02/15.08.02.09/15.08.02.09-005.js | 15 ++++++ .../15.08.02/15.08.02.09/15.08.02.09-006.js | 15 ++++++ .../15.08.02/15.08.02.09/15.08.02.09-007.js | 15 ++++++ .../15.08.02/15.08.02.09/15.08.02.09-008.js | 15 ++++++ .../15.08.02/15.08.02.10/15.08.02.10-001.js | 15 ++++++ .../15.08.02/15.08.02.10/15.08.02.10-002.js | 15 ++++++ .../15.08.02/15.08.02.10/15.08.02.10-003.js | 15 ++++++ .../15.08.02/15.08.02.10/15.08.02.10-004.js | 15 ++++++ .../15.08.02/15.08.02.10/15.08.02.10-005.js | 15 ++++++ .../15.08.02/15.08.02.10/15.08.02.10-006.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-001.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-002.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-003.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-004.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-005.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-006.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-007.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-008.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-009.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-010.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-011.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-012.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-013.js | 15 ++++++ .../15.08.02/15.08.02.11/15.08.02.11-014.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-001.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-002.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-003.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-004.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-005.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-006.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-007.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-008.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-009.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-010.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-011.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-012.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-013.js | 15 ++++++ .../15.08.02/15.08.02.12/15.08.02.12-014.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-001.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-002.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-003.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-004.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-005.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-006.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-007.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-008.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-009.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-010.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-011.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-012.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-013.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-014.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-015.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-016.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-017.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-018.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-019.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-020.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-021.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-022.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-023.js | 16 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-024.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-025.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-026.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-027.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-028.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-029.js | 15 ++++++ .../15.08.02/15.08.02.13/15.08.02.13-030.js | 15 ++++++ .../15.08.02/15.08.02.15/15.08.02.15-001.js | 16 ++++++ .../15.08.02/15.08.02.15/15.08.02.15-002.js | 15 ++++++ .../15.08.02/15.08.02.15/15.08.02.15-003.js | 15 ++++++ .../15.08.02/15.08.02.15/15.08.02.15-004.js | 15 ++++++ .../15.08.02/15.08.02.15/15.08.02.15-005.js | 15 ++++++ .../15.08.02/15.08.02.15/15.08.02.15-006.js | 15 ++++++ .../15.08.02/15.08.02.15/15.08.02.15-007.js | 15 ++++++ .../15.08.02/15.08.02.16/15.08.02.16-001.js | 15 ++++++ .../15.08.02/15.08.02.16/15.08.02.16-002.js | 15 ++++++ .../15.08.02/15.08.02.16/15.08.02.16-003.js | 15 ++++++ .../15.08.02/15.08.02.16/15.08.02.16-004.js | 15 ++++++ .../15.08.02/15.08.02.16/15.08.02.16-005.js | 15 ++++++ .../15.08.02/15.08.02.17/15.08.02.17-001.js | 15 ++++++ .../15.08.02/15.08.02.17/15.08.02.17-002.js | 15 ++++++ .../15.08.02/15.08.02.17/15.08.02.17-003.js | 15 ++++++ .../15.08.02/15.08.02.17/15.08.02.17-004.js | 15 ++++++ .../15.08.02/15.08.02.17/15.08.02.17-005.js | 15 ++++++ .../15.08.02/15.08.02.18/15.08.02.18-001.js | 15 ++++++ .../15.08.02/15.08.02.18/15.08.02.18-002.js | 15 ++++++ .../15.08.02/15.08.02.18/15.08.02.18-003.js | 15 ++++++ .../15.08.02/15.08.02.18/15.08.02.18-004.js | 15 ++++++ .../15.08.02/15.08.02.18/15.08.02.18-005.js | 15 ++++++ .../15.08.02/15.08.02.18/15.08.02.18-006.js | 15 ++++++ .../15.08.02/15.08.02.18/15.08.02.18-007.js | 15 ++++++ tools/run_test_suite_jerry.sh | 18 +++++++ 450 files changed, 7495 insertions(+) create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-003.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-004.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-005.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-006.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-007.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-008.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-009.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-010.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-003.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-004.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-005.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-006.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-007.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-008.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-009.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-010.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-003.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-004.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-005.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-006.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-007.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-008.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-009.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-010.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-011.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-012.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-013.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-014.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-015.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-016.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-017.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-018.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-019.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-020.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-021.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.01/15.02.04.01-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.01/15.02.04.01-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-003.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-004.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-003.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-003.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-004.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-005.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-006.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-007.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-008.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-009.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-010.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-003.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-004.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-003.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-004.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-005.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-006.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-001.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-002.js create mode 100644 tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-003.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-001.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-002.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-004.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-005.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-007.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-008.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-009.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-010.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-011.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-012s.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-001.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-002.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-003.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-004.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-001.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-002.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-003.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-004.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.02/15.03.03.02-001.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-001.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-002.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-003.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-004.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-005.js create mode 100644 tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-006.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-001.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-002.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-003.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-004.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-005.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-006.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-007.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-008.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-001.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-002.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-003.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-004.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-005.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-006.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-007.js create mode 100644 tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-008.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-003.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-004.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-005.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-006.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-007.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-008.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-009.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-010.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-011.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-012.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-013.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-014.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-015.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.02/15.05.02.01/15.05.02.01-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.02/15.05.02.01/15.05.02.01-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.01/15.05.03.01-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.01/15.05.03.01-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.02/15.05.03.02-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.02/15.05.03.02-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.01/15.05.04.01-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.02/15.05.04.02-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.02/15.05.04.02-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.03/15.05.04.03-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-003.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-004.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-003.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-004.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-003.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-004.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-001.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-002.js create mode 100644 tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-001.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-002.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-003.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-004.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-005.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-006.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-007.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-008.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-009.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-010.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-011.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-012.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.02/15.06.02.01/15.06.02.01-001.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.02/15.06.02.01/15.06.02.01-002.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.03/15.06.03.01/15.06.03.01-001.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.01/15.06.04.01-001.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-001.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-002.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-003.js create mode 100644 tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.03/15.06.04.03-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-007.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-008.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-009.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-010.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-007.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-008.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-009.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-010.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-011.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-007.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-008.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-009.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-010.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-011.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-007.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-007.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.01/15.07.04.01-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.01/15.07.04.01-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-008.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-009.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-010.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-011.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-012.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-013.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-001.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-002.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-003.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-004.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-005.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-006.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-007.js create mode 100644 tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-009.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-009.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-009.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-010.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-011.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-012.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-013.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-014.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-015.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-016.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-017.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-018.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-019.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-020.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-021.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-022.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-023.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-024.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-025.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-026.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-027.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-028.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-029.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-009.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-010.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-011.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-012.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-009.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-010.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-011.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-012.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-013.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-014.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-009.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-010.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-011.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-012.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-013.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-014.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-008.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-009.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-010.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-011.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-012.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-013.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-014.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-015.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-016.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-017.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-018.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-019.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-020.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-021.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-022.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-023.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-024.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-025.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-026.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-027.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-028.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-029.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-030.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-007.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-001.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-002.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-003.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-004.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-005.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-006.js create mode 100644 tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-007.js create mode 100755 tools/run_test_suite_jerry.sh diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-001.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-001.js new file mode 100644 index 000000000..3b14d765c --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-001.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; +a = Object(); + +assert(typeof a === 'object'); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-002.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-002.js new file mode 100644 index 000000000..b3cb2accc --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-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; +a = Object(null); + +assert(typeof a === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-003.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-003.js new file mode 100644 index 000000000..f97d0fd1a --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-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; +a = Object(undefined); + +assert(typeof a === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-004.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-004.js new file mode 100644 index 000000000..2c84afd18 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.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 = 1; +assert(typeof Object(a) === 'object'); + diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-005.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-005.js new file mode 100644 index 000000000..04488d862 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.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 = true; + +assert(typeof Object(a) === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-006.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-006.js new file mode 100644 index 000000000..581f79f92 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.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 = false; +assert(typeof Object(a) === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-007.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-007.js new file mode 100644 index 000000000..bd882aa1f --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.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 = "some string"; + +assert(typeof Object(a) === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-008.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-008.js new file mode 100644 index 000000000..fa06f4c74 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.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 a = "some string"; +assert(typeof Object(a) === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-009.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-009.js new file mode 100644 index 000000000..d76f81923 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.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 a = new Number(123.5); +assert (typeof Object(a) === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-010.js b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.01-010.js new file mode 100644 index 000000000..159af4e69 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.01/15.02.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 a = new String("nice string"); +assert(typeof Object(a) === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-001.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-001.js new file mode 100644 index 000000000..8f10d7a98 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.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 = new Object(); + +assert(typeof a === 'object'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-002.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-002.js new file mode 100644 index 000000000..062392d97 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-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 = new Object(); +var b = new Object(); + +assert(a !== b); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-003.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-003.js new file mode 100644 index 000000000..22b42b285 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.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 = new Object(); +var b = new Object(a); +assert(a === b); diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-004.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-004.js new file mode 100644 index 000000000..1e3ef9212 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-004.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. + +var a = { + field1: Number, + field2: String, + foo: function () { + return 0; + } +} +var b = new Object(a); +assert(a === b); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-005.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-005.js new file mode 100644 index 000000000..2ae4855f6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.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 = "foobar"; +var b = new Object(a); +assert(typeof b === "object" && b == a && b !== a); diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-006.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-006.js new file mode 100644 index 000000000..315a5122b --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.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.5; +var b = new Object(a); +assert(typeof b === "object" && b == a && b !== a); diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-007.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-007.js new file mode 100644 index 000000000..d600dc4cb --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.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 = true; +var b = new Object(a); +assert(typeof b === "object" && b == a && b !== a); diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-008.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-008.js new file mode 100644 index 000000000..6457ecaab --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-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 a = new Object(); +assert(typeof a === 'object' && + typeof (Object.getPrototypeOf(a)) === "object" && + Object.isExtensible(a)); + \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-009.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-009.js new file mode 100644 index 000000000..a335c90b2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-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 = new Object(null); +assert(typeof a === 'object' && + typeof (Object.getPrototypeOf(a)) === "object" && + Object.isExtensible(a)); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-010.js b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-010.js new file mode 100644 index 000000000..1e1b69bdc --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.02/15.02.02-010.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 = new Object(undefined); +assert(typeof a === 'object' && + typeof (Object.getPrototypeOf(a)) === "object" && + Object.isExtensible(a)); + \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-001.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-001.js new file mode 100644 index 000000000..beab99c38 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-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. + +assert(typeof Object.getPrototypeOf(Object) == "function" && + Object.length == 1); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-002.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-002.js new file mode 100644 index 000000000..5892b910c --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.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(typeof Object.prototype == "object"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-003.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-003.js new file mode 100644 index 000000000..4e00ddd62 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-003.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. + + +writable = false; +enumerable = false; +configurable = false; + +Object.prototype = "qwerty"; +if (Object.prototype === "qwerty") + writable = true; + +for (prop in Object) +{ + if (Object[prop] == "qwerty") + enumerable = true; +} + +if (delete Object.prototype) + configurable = true; + +assert(writable || enumerable || configurable); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-004.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-004.js new file mode 100644 index 000000000..417900733 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-004.js @@ -0,0 +1,28 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var object = { + prop1: Number, + prop2: String, + prop3: true, + prop4: 0 +} + +var keys = Object.keys(object); + +assert(keys[0] == "prop1" && + keys[1] == "prop2" && + keys[2] == "prop3" && + keys[3] == "prop4"); + \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-005.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-005.js new file mode 100644 index 000000000..30d42e6d6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-005.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 = { + field: Number +} + +assert(Object.getPrototypeOf(a) == Object.getPrototypeOf(Object())); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-006.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-006.js new file mode 100644 index 000000000..be0178418 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-006.js @@ -0,0 +1,29 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES 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 = { + field1: 5, + field2: "qwe", + field3: true +} + +var object2 = { + field1: 5, + field2: "qwe", + field3: true +} + +Object.freeze(object1); + +assert(Object.isExtensible(object1) && !Object.isExtensible(object2)); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-007.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-007.js new file mode 100644 index 000000000..1f27c5534 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-007.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 = { + foo: function () { + return 1 + } +} +desc = Object.getOwnPropertyDescriptor(a, "foo"); + +assert(desc instanceof Object); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-008.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-008.js new file mode 100644 index 000000000..4354e4a12 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-008.js @@ -0,0 +1,29 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES 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 = { + field1: 5, + field2: "qwe", + field3: true +} + +var object2 = { + field1: 5, + field2: "qwe", + field3: true +} + +Object.freeze(object1); + +assert(Object.isFrozen(object1) && !Object.isFrozen(object2)); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-009.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-009.js new file mode 100644 index 000000000..a9d79d7f6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-009.js @@ -0,0 +1,31 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES 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 = { + prop1: Number, + prop2: String, + foo: function () { + return 1; + }, + bar: function () { + return 0; + } +}; +names = Object.getOwnPropertyNames(a); + +assert(names instanceof Array && + names[0] === "prop1" && + names[1] === "prop2" && + names[2] === "foo" && + names[3] === "bar"); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-010.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-010.js new file mode 100644 index 000000000..ac70c4803 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-010.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 = new String("qwe"); +names = Object.getOwnPropertyNames(a); +assert(names instanceof Array && + names[0] === "0" && + names[1] === "1" && + names[2] === "2" && + names[3] === "length"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-011.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-011.js new file mode 100644 index 000000000..8634a19df --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-011.js @@ -0,0 +1,29 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES 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 = { + field1: 5, + field2: "qwe", + field3: true +} + +var object2 = { + field1: 5, + field2: "qwe", + field3: true +} + +Object.seal(object1); + +assert(Object.isSealed(object1) && !Object.isSealed(object2)); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-012.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-012.js new file mode 100644 index 000000000..f5d089e24 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-012.js @@ -0,0 +1,26 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var veryUsefulObject = { +} + +Object.preventExtensions(veryUsefulObject); + +veryUsefulObject.property = "qwerty"; + +veryUsefulObject.method = function () { + return "asdf"; +} + +assert(veryUsefulObject.property && veryUsefulObject.method()); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-013.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-013.js new file mode 100644 index 000000000..c0206481d --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-013.js @@ -0,0 +1,28 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var niceObject = { + niceProp1: String, + niceProp2: Number, + niceMeth: function () { + return true; + } +} +var someElseObject = { + prop1: Boolean, + prop2: Number +} +var niceChild = Object.create(niceObject, someElseObject); + +assert(Object.getPrototypeOf(niceChild) === niceObject); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-014.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-014.js new file mode 100644 index 000000000..6231f58ff --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-014.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 = new String("qwe"); //I'm not a string I'm Object-String. It's OK. +var someElseObject = { + prop1: Boolean, + prop2: Number +} +var niceChild = Object.create(a, someElseObject); + +assert(Object.getPrototypeOf(niceChild) === a); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-015.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-015.js new file mode 100644 index 000000000..3726d53b9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-015.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 = {} +var someElseObject = undefined; +var childObject = Object.create(a, someElseObject); //nothing is inherited + +assert(Object.getPrototypeOf(childObject) === a && Object.getOwnPropertyNames(childObject).length == 0); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-016.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-016.js new file mode 100644 index 000000000..e5c88183f --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-016.js @@ -0,0 +1,49 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var emptyObject = {} + +var propertyDescriptor = { + enumerable: true, + configurable: true, + get: function () { + return myProperty; + }, + set: function (newValue) { + myProperty = newValue; + } +} + +Object.defineProperty(emptyObject, 'myProperty', propertyDescriptor); + +var checkGetSet = false; +var isEnumerable = false; +var isConfigurable = false; + +emptyObject.myProperty = "foobar"; +if (emptyObject.myProperty == "foobar") + checkGetSet = true; + +for (p in emptyObject) { + if (emptyObject[p] == "foobar") { + isEnumerable = true; + break; + } +} + +if (delete emptyObject.myProperty) + isConfigurable = true; + +assert(checkGetSet && isEnumerable && isConfigurable); + diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-017.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-017.js new file mode 100644 index 000000000..4bc52a0bb --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-017.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 object = { + prop1: "qwerty", + prop2: 123, +} + +Object.freeze(object); + +object.prop1 = "asdf"; +object.prop3 = true; + +assert(!(object.prop1 === "asdf") && !delete object.prop2 && !object.prop3); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-018.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-018.js new file mode 100644 index 000000000..dab0a63c5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-018.js @@ -0,0 +1,29 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var object = { + prop1: Number, + prop2: String, + prop3: Boolean +} + +Object.seal(object); + +check = delete object.prop1 || delete object.prop2 || delete object.prop3; + +object.prop4 = 3; + +check = check || Boolean(object.prop4); + +assert(!check); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-019.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-019.js new file mode 100644 index 000000000..d5c66f534 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-019.js @@ -0,0 +1,53 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var emptyObject = {} + +var properties = { + prop1: { + writable: true, + enumerable: true, + configurable: false, + value: "I'm prop1" + }, + prop2: { + writable: true, + enumerable: true, + configurable: false, + value: "I'm prop2" + } +} + +var isEnumerable = true; +var isConfigurable = true; +var isWritable = false; + +Object.defineProperties(emptyObject, properties); + +emptyObject.prop1 = "hello"; +emptyObject.prop2 = "world"; + +if (emptyObject.prop1 === "hello" && emptyObject.prop2 == "world") + isWritable = true; + +for (p in emptyObject) { + if (emptyObject[p] === "hello") + isEnumerable = !isEnumerable; + else if (emptyObject[p] === "world") + isEnumerable = !isEnumerable; +} + +isConfigurable = delete emptyObject.prop1 && delete emptyObject.prop2 + +assert(isWritable && isEnumerable && !isConfigurable); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-020.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-020.js new file mode 100644 index 000000000..2349705d8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-020.js @@ -0,0 +1,44 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var emptyObject = {} + +var propertyDescriptor = { + enumerable: true, + configurable: true, + value: "hello!", + writable: true +} + +Object.defineProperty(emptyObject, 'myProperty', propertyDescriptor); + +var isWritable = false; +var isEnumerable = false; +var isConfigurable = false; + +emptyObject.myProperty = "foobar"; +if (emptyObject.myProperty == "foobar") + isWritable = true; + +for (p in emptyObject) { + if (emptyObject[p] == "foobar") { + isEnumerable = true; + break; + } +} + +if (delete emptyObject.myProperty) + isConfigurable = true; + +assert(isWritable && isEnumerable && isConfigurable); diff --git a/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-021.js b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-021.js new file mode 100644 index 000000000..ebe6fc6e8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.03/15.02.03-021.js @@ -0,0 +1,52 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var emptyObject = {} + +var propertyDescriptor = { + enumerable: true, + configurable: true, + value: "hello!", + writable: true +} + +Object.defineProperty(emptyObject, 'myProperty', propertyDescriptor); + +var newPropertyDescriptor = { + enumerable: false, + configurable: false, + writable: false +} + +Object.defineProperty(emptyObject, 'myProperty', newPropertyDescriptor); //change properties of property + +var isWritable = false; +var isEnumerable = false; +var isConfigurable = false; + +emptyObject.myProperty = "foobar"; +if (emptyObject.myProperty == "foobar") + isWritable = true; + +for (p in emptyObject) { + if (emptyObject[p] == "foobar") { + isEnumerable = true; + break; + } +} + +if (delete emptyObject.myProperty) + isConfigurable = true; + +assert(isWritable || isEnumerable || isConfigurable); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04-001.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04-001.js new file mode 100644 index 000000000..ff82ea60b --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04-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(Object.getPrototypeOf(Object.getPrototypeOf(Object())) === null); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04-002.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04-002.js new file mode 100644 index 000000000..5f4df9ae0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04-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(Object.isExtensible(Object.getPrototypeOf(Object()))); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.01/15.02.04.01-001.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.01/15.02.04.01-001.js new file mode 100644 index 000000000..30ead3e1b --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.01/15.02.04.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(Object.getPrototypeOf(Object()).constructor === Object); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.01/15.02.04.01-002.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.01/15.02.04.01-002.js new file mode 100644 index 000000000..750d231a6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.01/15.02.04.01-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(Object.prototype.constructor === Object); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-001.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-001.js new file mode 100644 index 000000000..9e9b8b3e0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.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(Object.prototype.toString.call(undefined) === "[object Undefined]"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-002.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-002.js new file mode 100644 index 000000000..7d237bd92 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-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(Object.prototype.toString.call(null) === "[object Null]"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-003.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-003.js new file mode 100644 index 000000000..f22ef9059 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.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 obj = {}; +assert(obj.toString() === "[object Object]"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-004.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-004.js new file mode 100644 index 000000000..223a729e3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.02/15.02.04.02-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(Object.prototype.toString.call(123) === "[object Number]"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-001.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-001.js new file mode 100644 index 000000000..1599d37cd --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.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(typeof Object.prototype.toLocaleString === 'function'); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-002.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-002.js new file mode 100644 index 000000000..ea9cc40ae --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.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 o = new Object(); +assert(o.toLocaleString() === o.toString()); + \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-003.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.03-003.js new file mode 100644 index 000000000..acbce003f --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.03/15.02.04.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(Object.toLocaleString() === Object.toString()); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-001.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-001.js new file mode 100644 index 000000000..794472cbf --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.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 a = new Object(); +assert(a.valueOf() === a); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-002.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-002.js new file mode 100644 index 000000000..20b5740c5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-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 = { + n: Number(5) +} +assert(a.valueOf() === a); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-003.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-003.js new file mode 100644 index 000000000..16e11e389 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-003.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 = { + n: true, + s: "qwerty" +} + +assert(a.valueOf() === a); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-004.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-004.js new file mode 100644 index 000000000..22d57209f --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.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 = new Number(5); + +assert(a.valueOf() === 5); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-005.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-005.js new file mode 100644 index 000000000..28b3d7291 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.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 = 123; + +assert(a.valueOf() === 123); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-006.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-006.js new file mode 100644 index 000000000..90e15402c --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.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 = new Boolean(true); + +assert(a.valueOf() === true); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-007.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-007.js new file mode 100644 index 000000000..0971e5deb --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.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; + +assert(a.valueOf() === false); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-008.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-008.js new file mode 100644 index 000000000..eb073d2bc --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.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 a = new String("qwe"); +assert(a.valueOf() === "qwe"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-009.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-009.js new file mode 100644 index 000000000..0fa702315 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.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 a = "asdfgh"; +assert(a.valueOf() === "asdfgh"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-010.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-010.js new file mode 100644 index 000000000..4fcda17ac --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.04/15.02.04.04-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 = "123"; +assert(a.valueOf() === "123"); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-001.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-001.js new file mode 100644 index 000000000..36a3be2b5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-001.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 obj = { + prop1: 5, + prop2: "qwe", + prop3: Boolean +} + +assert(obj.hasOwnProperty("prop1")); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-002.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-002.js new file mode 100644 index 000000000..945fb62f1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-002.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 obj = { + prop1: 5 +} + +assert(!obj.hasOwnProperty("prop5")); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-003.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-003.js new file mode 100644 index 000000000..10ed4d91f --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-003.js @@ -0,0 +1,27 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +function Parent() { + this.prop = 5; +} + +function Child() { + this.prop2 = false; +} + +Child.prototype = Parent; + +var obj = new Child(); + +assert(!obj.hasOwnProperty("prop")); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-004.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-004.js new file mode 100644 index 000000000..e1ff4a94b --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.05/15.02.04.05-004.js @@ -0,0 +1,27 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +function Parent() { + this.prop = 5; +} + +function Child() { + this.prop2 = false; +} + +Child.prototype = Parent; + +var obj = new Child(); + +assert(obj.hasOwnProperty("prop2")); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-001.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-001.js new file mode 100644 index 000000000..15f346477 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-001.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 = new Object(); +var b = 123; + +assert(a.isPrototypeOf(b)); + diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-002.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-002.js new file mode 100644 index 000000000..378a2fcc6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-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 object = new Object(); +var p = Object.getPrototypeOf(object); + +assert(p.isPrototypeOf(object)); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-003.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-003.js new file mode 100644 index 000000000..dd2639203 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-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 object = new Object(); +var otherObject = new Object(); + +assert(otherObject.isPrototypeOf(object)); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-004.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-004.js new file mode 100644 index 000000000..0db039cb2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.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 object = new Object(); +assert(object.isPrototypeOf(object)); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-005.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-005.js new file mode 100644 index 000000000..da9db7121 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.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 object = Object.create(null); +var temp = new Object(); +assert(temp.isPrototypeOf(object)); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-006.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-006.js new file mode 100644 index 000000000..b1d0a0387 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.06/15.02.04.06-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. + +Object.prototype.isPrototypeOf.call(undefined, {}); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-001.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-001.js new file mode 100644 index 000000000..e36e6e390 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-001.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 object = { + prop: true +} + +assert(!object.propertyIsEnumerable('prop2')); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-002.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-002.js new file mode 100644 index 000000000..c8adb82eb --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-002.js @@ -0,0 +1,26 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var object = {} + +var propertyDescriptor = { + enumerable: true, + configurable: true, + value: "qwe", + writable: true +} + +Object.defineProperty(object, 'prop', propertyDescriptor); + +assert(object.propertyIsEnumerable('prop')); diff --git a/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-003.js b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-003.js new file mode 100644 index 000000000..a2d97f532 --- /dev/null +++ b/tests/jerry-test-suite/15/15.02/15.02.04/15.02.04.07/15.02.04.07-003.js @@ -0,0 +1,26 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var object = {} + +var propertyDescriptor = { + enumerable: false, + configurable: true, + value: "qwe", + writable: true +} + +Object.defineProperty(object, 'prop', propertyDescriptor); + +assert(object.propertyIsEnumerable('prop')); diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-001.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-001.js new file mode 100644 index 000000000..4f4120823 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.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 func = new Function("a,b", "c", "return a+b+c") +assert(func(1, 2, 3) == 6); diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-002.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-002.js new file mode 100644 index 000000000..2fa71d3fe --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-002.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. + +try +{ + Function('a', 'a', '"use strict";'); + assert(false); +} +catch (e) +{ +} diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-004.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-004.js new file mode 100644 index 000000000..ebb181713 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-004.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. + +try +{ + Function('eval', '"use strict";'); + assert(false); +} +catch (e) +{ +} \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-005.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-005.js new file mode 100644 index 000000000..3da56806a --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-005.js @@ -0,0 +1,24 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +"use strict"; +try +{ + Function('eval', 'return;'); + +} +catch (e) +{ + assert(false); +} \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-007.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-007.js new file mode 100644 index 000000000..8a69db6e8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-007.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. + +try +{ + Function('a,a', '"use strict";'); + assert(false); +} +catch (e) +{ +} \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-008.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-008.js new file mode 100644 index 000000000..9cf475d66 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-008.js @@ -0,0 +1,24 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +"use strict"; + +try +{ + Function('a,a', 'return a;'); +} +catch (e) +{ + assert(false); +} \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-009.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-009.js new file mode 100644 index 000000000..89550e827 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-009.js @@ -0,0 +1,24 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +"use strict"; + +try +{ + Function('arguments', 'return;'); +} +catch (e) +{ + assert(false); +} \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-010.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-010.js new file mode 100644 index 000000000..607872fbd --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-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. + +"use strict"; + +var foo = new Function("baz", "qux", "baz", "return 0;"); diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-011.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-011.js new file mode 100644 index 000000000..a73a774aa --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-011.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. + +"use strict"; +var foo = new Function("baz", "baz", "baz", "return 0;"); + +assert(false); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-012s.js b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-012s.js new file mode 100644 index 000000000..9e4fff3a4 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.02/15.03.02.01/15.03.02.01-012s.js @@ -0,0 +1,24 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +"use strict"; + +try +{ + Function('a', 'a', 'return;'); +} +catch (e) +{ + assert(false); +} diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-001.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-001.js new file mode 100644 index 000000000..d6a18c55a --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.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(Function.hasOwnProperty("prototype")); diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-002.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-002.js new file mode 100644 index 000000000..8669f5f5d --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.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(Function.prototype.isPrototypeOf(Function)); diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-003.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-003.js new file mode 100644 index 000000000..70c1c2fc3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.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. + +Function.prototype.indicator = 1; +assert (Function.indicator === 1); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-004.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-004.js new file mode 100644 index 000000000..9055299d2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03-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. + +assert(Function.hasOwnProperty("length")); +assert(Function.length === 1); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-001.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-001.js new file mode 100644 index 000000000..6abd662d9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-001.js @@ -0,0 +1,35 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var obj = Function.prototype; +Function.prototype = function () { + return "shifted"; +}; + +if (Function.prototype !== obj) +{ + assert(false); +} + +try +{ + if (Function.prototype() !== undefined) + { + assert(false); + } +} +catch (e) +{ + assert(false); +} \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-002.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-002.js new file mode 100644 index 000000000..800096cdc --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-002.js @@ -0,0 +1,31 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +if (Function.propertyIsEnumerable('prototype')) +{ + assert(false); +} + +var count = 0; + +for (p in Function) +{ + if (p === "prototype") + count++; +} + +if (count !== 0) +{ + assert(false); +} diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-003.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-003.js new file mode 100644 index 000000000..435d002d5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-003.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. + +delete Function.prototype; + +if (!(Function.hasOwnProperty('prototype'))) +{ + assert(false); +} \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-004.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-004.js new file mode 100644 index 000000000..592fc22ce --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.01/15.03.03.01-004.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. + +function foo() { +} + +Object.defineProperty(foo, 'prototype', {value: {}}); +assert(foo.prototype === + Object.getOwnPropertyDescriptor(foo, 'prototype').value); + \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.02/15.03.03.02-001.js b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.02/15.03.03.02-001.js new file mode 100644 index 000000000..49df13c56 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.03/15.03.03.02/15.03.03.02-001.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 desc = Object.getOwnPropertyDescriptor(Function, "length"); +assert(desc.value === 1 && + desc.writable === false && + desc.enumerable === false && + desc.configurable === false); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-001.js b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-001.js new file mode 100644 index 000000000..a9b967ae2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.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. + +assert(Function.prototype.toString.hasOwnProperty('length')); +assert(delete Function.prototype.toString.length); +assert(Function.prototype.toString.hasOwnProperty('length')); diff --git a/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-002.js b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-002.js new file mode 100644 index 000000000..559d31a49 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-002.js @@ -0,0 +1,24 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +var FACTORY = Function.prototype.toString; + +try +{ + var instance = new FACTORY; + assert(false); +} +catch (e) +{ +} diff --git a/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-003.js b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-003.js new file mode 100644 index 000000000..5c70aad1f --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-003.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. + +assert(Function.prototype.toString.hasOwnProperty('length')); +assert(!Function.prototype.toString.propertyIsEnumerable('length')); +for (p in Function.prototype.toString) +{ + assert(p !== "length"); +} \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-004.js b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-004.js new file mode 100644 index 000000000..a9b967ae2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.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. + +assert(Function.prototype.toString.hasOwnProperty('length')); +assert(delete Function.prototype.toString.length); +assert(Function.prototype.toString.hasOwnProperty('length')); diff --git a/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-005.js b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-005.js new file mode 100644 index 000000000..214c5031d --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-005.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. + +assert(Function.prototype.toString.hasOwnProperty('length')); + +var obj = Function.prototype.toString.length; + +Function.prototype.toString.length = function () { + return "shifted"; +}; + +assert(Function.prototype.toString.length === obj); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-006.js b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.02-006.js new file mode 100644 index 000000000..61ceff532 --- /dev/null +++ b/tests/jerry-test-suite/15/15.03/15.03.04/15.03.04.02/15.03.04.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. + +assert(Function.prototype.toString.hasOwnProperty("length")); +assert(Function.prototype.toString.length === 0); + \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-001.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-001.js new file mode 100644 index 000000000..749ca81dc --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.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 a = new Array(); +assert(typeof a === 'object'); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-002.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-002.js new file mode 100644 index 000000000..a533a0194 --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.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 = new Array(1, 2, 5); +assert(a.length === 3); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-003.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-003.js new file mode 100644 index 000000000..b64b98c6a --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.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 = new Array(1, 2, 5); +assert(a[0] === 1); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-004.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-004.js new file mode 100644 index 000000000..cf503f2ba --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.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 a = new Array(1, 2, 5); +assert(a[1] === 2); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-005.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-005.js new file mode 100644 index 000000000..cb0bd2d5b --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.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 = new Array(1, 2, 5); +assert(a[2] === 5); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-006.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-006.js new file mode 100644 index 000000000..e16f8a3c9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.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 = new Array(1, 2, 5); +assert(a[3] === undefined); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-007.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-007.js new file mode 100644 index 000000000..90de839d7 --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.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 a = new Array(); +assert(a.length === 0); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-008.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.01-008.js new file mode 100644 index 000000000..a9fd6d721 --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.01/15.04.02.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 a = new Array(); +assert(a[0] === undefined); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-001.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-001.js new file mode 100644 index 000000000..2f2be0123 --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.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 a = new Array(5); +assert(typeof a === 'object'); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-002.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-002.js new file mode 100644 index 000000000..230966a8d --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.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 = new Array(5); +assert(a.length === 5); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-003.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-003.js new file mode 100644 index 000000000..e48d091dd --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.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 = new Array(5); +assert(a[0] === undefined); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-004.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-004.js new file mode 100644 index 000000000..22f32848d --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.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 a = new Array(5); +assert(a[3] === undefined); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-005.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-005.js new file mode 100644 index 000000000..90d82278a --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.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 = new Array(5); +assert(a[10] === undefined); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-006.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-006.js new file mode 100644 index 000000000..dbf07df7c --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.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 = new Array(0); +assert(a.length === 0); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-007.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-007.js new file mode 100644 index 000000000..024d92404 --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.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 a = new Array("5"); +assert(a.length === 1); diff --git a/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-008.js b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.02-008.js new file mode 100644 index 000000000..3f8bbd638 --- /dev/null +++ b/tests/jerry-test-suite/15/15.04/15.04.02/15.04.02.02/15.04.02.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 a = new Array("55"); +assert(a[0] === "55"); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-001.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-001.js new file mode 100644 index 000000000..e7ea56ee1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String() === String("") ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-002.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-002.js new file mode 100644 index 000000000..e43b63c51 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-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(String(undefined) === "undefined" ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-003.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-003.js new file mode 100644 index 000000000..099010c10 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-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(String(null) === "null" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-004.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-004.js new file mode 100644 index 000000000..09b94ab82 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-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(String(true) === "true" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-005.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-005.js new file mode 100644 index 000000000..58b5cebf1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-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(String(false) === "false" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-006.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-006.js new file mode 100644 index 000000000..8a9e3d4ca --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-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(return String(NaN) === "NaN" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-007.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-007.js new file mode 100644 index 000000000..f1c2b39be --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(+0) === "0" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-008.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-008.js new file mode 100644 index 000000000..de016b042 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(-0) === "0" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-009.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-009.js new file mode 100644 index 000000000..8919c1526 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(-1) === "-" + String(1) ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-010.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-010.js new file mode 100644 index 000000000..1bdbc8111 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(Infinity) === "Infinity" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-011.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-011.js new file mode 100644 index 000000000..301f80292 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(123000) === "123000" ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-012.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-012.js new file mode 100644 index 000000000..b79fb7d11 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(10000000000000000000) === "10000000000000000000" ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-013.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-013.js new file mode 100644 index 000000000..3685d9f46 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(0.111111111111111) === "0.111111111111111" ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-014.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-014.js new file mode 100644 index 000000000..db5dba941 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(0.00000111111111111111) === "0.00000111111111111111" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-015.js b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.01-015.js new file mode 100644 index 000000000..00caad20c --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.01/15.05.01.01/15.05.01.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(String(0.000000111111111111111) === "1.11111111111111e-7" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.02/15.05.02.01/15.05.02.01-001.js b/tests/jerry-test-suite/15/15.05/15.05.02/15.05.02.01/15.05.02.01-001.js new file mode 100644 index 000000000..234738851 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.02/15.05.02.01/15.05.02.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(String.prototype.isPrototypeOf(new String("")) ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.02/15.05.02.01/15.05.02.01-002.js b/tests/jerry-test-suite/15/15.05/15.05.02/15.05.02.01/15.05.02.01-002.js new file mode 100644 index 000000000..441dd5f61 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.02/15.05.02.01/15.05.02.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 s = new String(""); +s.x = 1; +assert((s.x === 1) ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.01/15.05.03.01-001.js b/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.01/15.05.03.01-001.js new file mode 100644 index 000000000..485552225 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.01/15.05.03.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. + +String.prototype = 1; +assert(String.prototype !== 1); diff --git a/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.01/15.05.03.01-002.js b/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.01/15.05.03.01-002.js new file mode 100644 index 000000000..8144ddccb --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.01/15.05.03.01-002.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. + +for (var p in String) { + if (p === String.prototype) { + assert(false); + } +} diff --git a/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.02/15.05.03.02-001.js b/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.02/15.05.03.02-001.js new file mode 100644 index 000000000..761412a2a --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.02/15.05.03.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(String.fromCharCode() === "" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.02/15.05.03.02-002.js b/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.02/15.05.03.02-002.js new file mode 100644 index 000000000..ffb5b35ab --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.03/15.05.03.02/15.05.03.02-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(String.fromCharCode(65, 66, 67) === "ABC" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.01/15.05.04.01-001.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.01/15.05.04.01-001.js new file mode 100644 index 000000000..94fc96bf7 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.01/15.05.04.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((String.prototype.constructor === String) ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.02/15.05.04.02-001.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.02/15.05.04.02-001.js new file mode 100644 index 000000000..da4edf717 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.02/15.05.04.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((String("abc").toString() === "abc") ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.02/15.05.04.02-002.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.02/15.05.04.02-002.js new file mode 100644 index 000000000..afca5ab50 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.02/15.05.04.02-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(("abc".toString() === "abc") ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.03/15.05.04.03-001.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.03/15.05.04.03-001.js new file mode 100644 index 000000000..01271316f --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.03/15.05.04.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(String("abc").valueOf() === "abc" ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-001.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-001.js new file mode 100644 index 000000000..611893c1d --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-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(String("abc").charAt(-1) === "" ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-002.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-002.js new file mode 100644 index 000000000..6ab651540 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-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(String("abc").charAt(3) === "" ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-003.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-003.js new file mode 100644 index 000000000..23070fbaa --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-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(String("abc").charAt(0) === "a" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-004.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-004.js new file mode 100644 index 000000000..f618d1b83 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.04/15.05.04.04-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(String("abc").charAt("0") === "a" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-001.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-001.js new file mode 100644 index 000000000..d4d0d9cfc --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-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(String("abc").charCodeAt(-1)) ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-002.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-002.js new file mode 100644 index 000000000..805c77b63 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-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(String("abc").charCodeAt(3) === NaN ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-003.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-003.js new file mode 100644 index 000000000..9de61a46c --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-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(String("abc").charCodeAt(0) === 97 ? 1 : 0); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-004.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-004.js new file mode 100644 index 000000000..6ba0a23f0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.05/15.05.04.05-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(String("abc").charCodeAt("0") === 97 ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-001.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-001.js new file mode 100644 index 000000000..d5feb7472 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-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(String("abc").concat("d") === "abcd" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-002.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-002.js new file mode 100644 index 000000000..6de51ddb1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-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(String().concat() === "" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-003.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-003.js new file mode 100644 index 000000000..0b9d4fb5d --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-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(String().concat("a", "b", "c") === "abc" ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-004.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-004.js new file mode 100644 index 000000000..952783494 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.06/15.05.04.06-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(String().concat.length === 1 ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-001.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-001.js new file mode 100644 index 000000000..e676263a6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-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(String("abcd").indexOf("ab") === 0 ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-002.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-002.js new file mode 100644 index 000000000..d8e9753af --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-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(String("abcd").indexOf("ab", 0) === 0 ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js new file mode 100644 index 000000000..0ae45b8b6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-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(string("abcd").indexOf("ab", 1) === -1 ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-001.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-001.js new file mode 100644 index 000000000..042beac93 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.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(false === Boolean(undefined)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-002.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-002.js new file mode 100644 index 000000000..c89d4953c --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-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(false === Boolean(null)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-003.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-003.js new file mode 100644 index 000000000..730e03089 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-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(false === Boolean(false)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-004.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-004.js new file mode 100644 index 000000000..345607b1b --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-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(true === Boolean(true)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-005.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-005.js new file mode 100644 index 000000000..140fc67ff --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-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(false === Boolean(+0)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-006.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-006.js new file mode 100644 index 000000000..7805ee610 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-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(false === Boolean(-0)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-007.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-007.js new file mode 100644 index 000000000..13d2a788a --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.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(false === Boolean(NaN)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-008.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-008.js new file mode 100644 index 000000000..6a18402f9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.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 === Boolean(11111)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-009.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-009.js new file mode 100644 index 000000000..c1f9903d1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.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 === Boolean(-11111)); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-010.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-010.js new file mode 100644 index 000000000..bd87baa11 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.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 === Boolean("")); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-011.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-011.js new file mode 100644 index 000000000..fb1b4923c --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.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(true === Boolean("abcdef")); diff --git a/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-012.js b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.01-012.js new file mode 100644 index 000000000..e843f7733 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.01/15.06.01.01/15.06.01.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(true === Boolean({})); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.06/15.06.02/15.06.02.01/15.06.02.01-001.js b/tests/jerry-test-suite/15/15.06/15.06.02/15.06.02.01/15.06.02.01-001.js new file mode 100644 index 000000000..1a82925f6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.02/15.06.02.01/15.06.02.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(Boolean.prototype.isPrototypeOf(new Boolean(true))); diff --git a/tests/jerry-test-suite/15/15.06/15.06.02/15.06.02.01/15.06.02.01-002.js b/tests/jerry-test-suite/15/15.06/15.06.02/15.06.02.01/15.06.02.01-002.js new file mode 100644 index 000000000..2d9016827 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.02/15.06.02.01/15.06.02.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 b = new Boolean(true); +b.x = 1; +assert((b.x === 1) ? 1 : 0); diff --git a/tests/jerry-test-suite/15/15.06/15.06.03/15.06.03.01/15.06.03.01-001.js b/tests/jerry-test-suite/15/15.06/15.06.03/15.06.03.01/15.06.03.01-001.js new file mode 100644 index 000000000..66962004f --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.03/15.06.03.01/15.06.03.01-001.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. + +for (var p in Boolean) { + if (p === Boolean.prototype) { + assert(false); + } +} diff --git a/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.01/15.06.04.01-001.js b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.01/15.06.04.01-001.js new file mode 100644 index 000000000..1e5427717 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.01/15.06.04.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(Boolean.prototype.constructor === Boolean); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-001.js b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-001.js new file mode 100644 index 000000000..4521c2dee --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.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(Boolean(true).toString() === "true"); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-002.js b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-002.js new file mode 100644 index 000000000..86b87e525 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-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(Boolean(false).toString() === "false"); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-003.js b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-003.js new file mode 100644 index 000000000..c8245a5e6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.02/15.06.04.02-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(true.toString() === "true"); diff --git a/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.03/15.06.04.03-001.js b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.03/15.06.04.03-001.js new file mode 100644 index 000000000..1517ff689 --- /dev/null +++ b/tests/jerry-test-suite/15/15.06/15.06.04/15.06.04.03/15.06.04.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(Boolean(false).valueOf() === false); diff --git a/tests/jerry-test-suite/15/15.07/15.07-001.js b/tests/jerry-test-suite/15/15.07/15.07-001.js new file mode 100644 index 000000000..6d491ae7b --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07-001.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 = Number; +Number = null; +var b = new a(5); +assert(b !== 5); diff --git a/tests/jerry-test-suite/15/15.07/15.07-002.js b/tests/jerry-test-suite/15/15.07/15.07-002.js new file mode 100644 index 000000000..f9d1489f1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07-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 = Number; +Number = null; +var b = new a(5) +assert(b === 5); diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-001.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-001.js new file mode 100644 index 000000000..a73baba2e --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-001.js @@ -0,0 +1,29 @@ +// Copyright 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/* + + s.ryabkova + + Check Number Constructor called as a function performs a type conversion and returns a number value (not a Number Object) computed by ToNumber() function + + + built-in, Number + + +*/ +function main() +{ + return (Number("123456") === 123456) +} diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-002.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-002.js new file mode 100644 index 000000000..14e112800 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-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 (typeof Number("123456") === "number"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-003.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-003.js new file mode 100644 index 000000000..34be00911 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.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. + +assert(typeof Number(new Object()) === "number"); + diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-004.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-004.js new file mode 100644 index 000000000..33390523e --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-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 (Number(753) === 753); diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-005.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-005.js new file mode 100644 index 000000000..27c0db48e --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-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 (Number() === +0); diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-006.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-006.js new file mode 100644 index 000000000..18a4a7c56 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.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. + +assert(isNaN(Number(new Error()))); + diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-007.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-007.js new file mode 100644 index 000000000..f4162f45a --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.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. + +assert(typeof Number("abcdefg") === "number"); + diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-008.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-008.js new file mode 100644 index 000000000..86d564e1e --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.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(isNaN(Number("abcdefg"))); diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-009.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-009.js new file mode 100644 index 000000000..a791faedf --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.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(isNaN(Number(function a() {return Infinity}))); diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-010.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-010.js new file mode 100644 index 000000000..43f0a0ea1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-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 = Number; +Number = null; +var b = a(2); +assert(b === 2 && typeof b === "number"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-001.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-001.js new file mode 100644 index 000000000..a5abab855 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.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 a = new Number("123456"); +assert((a == 123456) && (typeof a === 'object')); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-002.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-002.js new file mode 100644 index 000000000..359f4d1be --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.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 = new Number(); +assert((a == +0.0) && (typeof a === 'object')); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-003.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-003.js new file mode 100644 index 000000000..4f1638690 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-003.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 = Number +Number = null +var b = new a("1e12") +assert(b == 1000000000000 && typeof b === "object"); + diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-004.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-004.js new file mode 100644 index 000000000..0e78f2942 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-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 = Number +Number = null +var b = new a("1e12") +assert(b.toString(35) === "fiyo05lf"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-005.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-005.js new file mode 100644 index 000000000..1a97a530a --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-005.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 = Number +Number = null +var b = new a("1e12") +b.c = new a(new Error()) + +assert(typeof b.c === "object" && isNaN(b.c)); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-006.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-006.js new file mode 100644 index 000000000..b20f52649 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-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 = Number +Number = null +var b = new a("1e12") +b.c = new a(new a(777)) +assert(typeof b.c === "object" && b.c.valueOf() === 777) diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-007.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-007.js new file mode 100644 index 000000000..18070e839 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.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. + +delete Number.prototype.toString; +var a = new Number() +assert(a.toString() === "[object Number]"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-008.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-008.js new file mode 100644 index 000000000..846c39f74 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.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 a = new Number(null) +assert(Number.prototype.isPrototypeOf(a)); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-009.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-009.js new file mode 100644 index 000000000..96b650eed --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.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 a = new Number(null) +assert(Number.prototype === a.constructor.prototype); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-010.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-010.js new file mode 100644 index 000000000..05186e8ad --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-010.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 b = Number.prototype +var a = Number +Number = null +var c = new a(5) +assert(b === c.constructor.prototype); diff --git a/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-011.js b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.02-011.js new file mode 100644 index 000000000..4f083835f --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.02/15.07.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 a = new Number(); +assert(a.valueOf() === +0.0); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-001.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-001.js new file mode 100644 index 000000000..412404f67 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.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(Number.constructor.prototype === Function.prototype); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-002.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-002.js new file mode 100644 index 000000000..f1a67e879 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.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(Number.hasOwnProperty("length") && Number.length === 1); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-003.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-003.js new file mode 100644 index 000000000..cfa276d10 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.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(Function.prototype.isPrototypeOf(Number) === true); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-004.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-004.js new file mode 100644 index 000000000..28703464e --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03-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 p = Object.getPrototypeOf(Number); +assert(p === Function.prototype); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-001.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-001.js new file mode 100644 index 000000000..1a24e8dee --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.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(Number.hasOwnProperty("prototype")); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-002.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-002.js new file mode 100644 index 000000000..4e37eb569 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-002.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 = Object.getOwnPropertyDescriptor(Number, 'prototype'); + +assert((a.writable === false && + a.enumerable === false && + a.configurable === false)); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-003.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-003.js new file mode 100644 index 000000000..2c4b036c8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-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(Object.getPrototypeOf(new Number()) === Number.prototype); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-004.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-004.js new file mode 100644 index 000000000..a1507d7f1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.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 b = Number.prototype +Number.prototype = 4 +assert(Number.prototype != 4 && Number.prototype === b) diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-005.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-005.js new file mode 100644 index 000000000..be9cbe021 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-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(delete Number.prototype === false) diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-006.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-006.js new file mode 100644 index 000000000..3a8b28104 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-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(!Number.propertyIsEnumerable('prototype')); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-007.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-007.js new file mode 100644 index 000000000..254afa582 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-007.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. + +for (x in Number) +{ + if (x === "prototype") + { + assert(false); + } +} diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-008.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-008.js new file mode 100644 index 000000000..c2a8fcbf8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.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. + +delete Number.prototype.toString +assert(Number.prototype.toString() === "[object Number]"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-009.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-009.js new file mode 100644 index 000000000..121fd9ed5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.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. + +Number.prototype.toString = Object.prototype.toString; +assert(Number.prototype.toString() === "[object Number]"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-010.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-010.js new file mode 100644 index 000000000..bd4e9bbd3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.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(Number.prototype == +0); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-011.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.01-011.js new file mode 100644 index 000000000..0676db386 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.01/15.07.03.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(1/Number.prototype === Number.POSITIVE_INFINITY); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-001.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-001.js new file mode 100644 index 000000000..9a9670231 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.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(Number.hasOwnProperty("MAX_VALUE")); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-002.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-002.js new file mode 100644 index 000000000..3aaf4e3ca --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-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(Number.MAX_VALUE === 1.7976931348623157e308); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-003.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-003.js new file mode 100644 index 000000000..3aaf4e3ca --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-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(Number.MAX_VALUE === 1.7976931348623157e308); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-004.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-004.js new file mode 100644 index 000000000..7388152a4 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.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 b = Number.MAX_VALUE; +Number.MAX_VALUE = 0; +assert(Number.MAX_VALUE === b); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-005.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-005.js new file mode 100644 index 000000000..d1dd3d49f --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-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(!(delete Number.MAX_VALUE)); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-006.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-006.js new file mode 100644 index 000000000..d55621066 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/15.07.03.02-006.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. + +for (x in Number) +{ + if (x === "MAX_VALUE") + { + assert(false); + } +} diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-001.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-001.js new file mode 100644 index 000000000..29aeeccc4 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.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(Number.hasOwnProperty("MIN_VALUE")); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-002.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-002.js new file mode 100644 index 000000000..f3e1a1c4a --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.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(Number.MIN_VALUE === 5e-324); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-003.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-003.js new file mode 100644 index 000000000..f3e1a1c4a --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.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(Number.MIN_VALUE === 5e-324); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-004.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-004.js new file mode 100644 index 000000000..8152c8f1c --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.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 b = Number.MIN_VALUE +Number.MIN_VALUE = 0 +assert(Number.MIN_VALUE === b);f diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-005.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-005.js new file mode 100644 index 000000000..90d18751b --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.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(!(delete Number.MIN_VALUE)); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-006.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-006.js new file mode 100644 index 000000000..4044d0b3b --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.03/15.07.03.03-006.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. + +for (x in Number) +{ + if (x === "MIN_VALUE") + { + assert(false); + } +} diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-001.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-001.js new file mode 100644 index 000000000..8025d8ab5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-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(Number.hasOwnProperty("NaN")); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-002.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-002.js new file mode 100644 index 000000000..dde83d255 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-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(Number.NaN)); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-003.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-003.js new file mode 100644 index 000000000..372127781 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-003.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. + +for (x in Number) +{ + if (x === "NaN") + { + assert(false); + } +} diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-004.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-004.js new file mode 100644 index 000000000..c27d7e271 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.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. + +Number.NaN = 0; +assert(isNaN(Number.NaN)); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-005.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-005.js new file mode 100644 index 000000000..1931e00ad --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.04/15.07.03.04-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(delete Number.NaN); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-001.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-001.js new file mode 100644 index 000000000..d36cb0550 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-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(Number.hasOwnProperty("NEGATIVE_INFINITY")); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-002.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-002.js new file mode 100644 index 000000000..0b2a73a66 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-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(isFinite(Number.NEGATIVE_INFINITY) && Number.NEGATIVE_INFINITY < 0); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-003.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-003.js new file mode 100644 index 000000000..c43f81083 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-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(Number.NEGATIVE_INFINITY === -Infinity); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-004.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-004.js new file mode 100644 index 000000000..45b084530 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-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 b = Number.NEGATIVE_INFINITY; +Number.NEGATIVE_INFINITY = 0; +assert(Number.NEGATIVE_INFINITY === b); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-005.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-005.js new file mode 100644 index 000000000..52fc1c720 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-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(delete Number.NEGATIVE_INFINITY); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-006.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-006.js new file mode 100644 index 000000000..ea2962bf3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-006.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. + +for (x in Number) +{ + if (x === "NEGATIVE_INFINITY") + { + assert(false); + } +} diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-007.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-007.js new file mode 100644 index 000000000..a58a90131 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.05/15.07.03.05-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(Number.propertyIsEnumerable('NEGATIVE_INFINITY')); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-001.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-001.js new file mode 100644 index 000000000..81d9570a3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-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(Number.hasOwnProperty("POSITIVE_INFINITY")); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-002.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-002.js new file mode 100644 index 000000000..cbae01aeb --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-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(!isFinite(Number.POSITIVE_INFINITY) && Number.POSITIVE_INFINITY > 0); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-003.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-003.js new file mode 100644 index 000000000..c687f1c89 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-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(Number.POSITIVE_INFINITY === Infinity); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-004.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-004.js new file mode 100644 index 000000000..362b5e2bb --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.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 b = Number.POSITIVE_INFINITY +Number.POSITIVE_INFINITY = 0 +assert(Number.POSITIVE_INFINITY === b); diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-005.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-005.js new file mode 100644 index 000000000..97170446b --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-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(!(delete Number.POSITIVE_INFINITY)); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-006.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-006.js new file mode 100644 index 000000000..4ff94ff9c --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-006.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. + +for (x in Number) +{ + if (x === "POSITIVE_INFINITY") + { + assert(false); + } +} diff --git a/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-007.js b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-007.js new file mode 100644 index 000000000..9bb08e24b --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.06/15.07.03.06-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(!Number.propertyIsEnumerable('POSITIVE_INFINITY')); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-001.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-001.js new file mode 100644 index 000000000..dba6877f9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.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. + +delete Number.prototype.toString +assert(Number.prototype.toString() === "[object Number]"); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-002.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-002.js new file mode 100644 index 000000000..b3cf15593 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-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(typeof Number.prototype === "object" && Number.prototype == +0.0); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-003.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-003.js new file mode 100644 index 000000000..8631652e8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04-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(Object.prototype.isPrototypeOf(Number.prototype)); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.01/15.07.04.01-001.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.01/15.07.04.01-001.js new file mode 100644 index 000000000..e495e248a --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.01/15.07.04.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(Number.prototype.hasOwnProperty('constructor')); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.01/15.07.04.01-002.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.01/15.07.04.01-002.js new file mode 100644 index 000000000..d7a92b4d0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.01/15.07.04.01-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(Number.prototype.constructor === Number); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-001.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-001.js new file mode 100644 index 000000000..f01fc19f3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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 a = Number(0.1); +assert(a.toString(36) === "0.3llllllllllqsn8td1p464unmi"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-002.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-002.js new file mode 100644 index 000000000..8102c9832 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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. + +a=new Number(13475865.23561782356176235123856134) +assert(a.toString(36) === "80u1l.8hczgt3y3tbj4i"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-003.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-003.js new file mode 100644 index 000000000..04e8ae6fd --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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 = new Number(15); +assert(a.toString(2) === "1111"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-004.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-004.js new file mode 100644 index 000000000..9d2921e97 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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 a = 123456789012345 +assert(a.toString(8) === "3404420603357571"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-005.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-005.js new file mode 100644 index 000000000..e7f7a8278 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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 = -123456789012345 +assert(a.toString(8) === "-3404420603357571"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-006.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-006.js new file mode 100644 index 000000000..ab02cce3b --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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(Number.prototype.toString(2) === "0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-008.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-008.js new file mode 100644 index 000000000..3ad1f1f5e --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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(Number.prototype.toString() === "0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-009.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-009.js new file mode 100644 index 000000000..f18e1d017 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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. + +assert(Number.prototype.hasOwnProperty('toString') && + typeof Number.prototype.toString === "function"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-010.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-010.js new file mode 100644 index 000000000..17048e97e --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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((new Number(NaN)).toString() === "NaN"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-011.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-011.js new file mode 100644 index 000000000..ee04714f2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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(NaN)).toString(undefined) === "NaN") diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-012.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-012.js new file mode 100644 index 000000000..d433b9a00 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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(Number.POSITIVE_INFINITY)).toString(undefined) === "Infinity"); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-013.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.02-013.js new file mode 100644 index 000000000..089b726f2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.02/15.07.04.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 ((new Number(Number.NEGATIVE_INFINITY)).toString(undefined) === "-Infinity"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-001.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-001.js new file mode 100644 index 000000000..36ca3e545 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-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(Number.prototype.toFixed() === "0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-002.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-002.js new file mode 100644 index 000000000..ab2e89ca2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-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(Number.prototype.toFixed(0) === "0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-003.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-003.js new file mode 100644 index 000000000..65a3b0bac --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-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(Number.prototype.toFixed(1) === "0.0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-004.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-004.js new file mode 100644 index 000000000..ef7d42f7b --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-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 (Number.prototype.toFixed(1.1) === "0.0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-005.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-005.js new file mode 100644 index 000000000..a78b8b3e3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-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(Number.prototype.toFixed(0.9) === "0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-006.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-006.js new file mode 100644 index 000000000..3346bf2dd --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-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 (Number.prototype.toFixed("1") === "0.0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-007.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-007.js new file mode 100644 index 000000000..f0a8cb1a0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-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(Number.prototype.toFixed(Number.NaN) === "0"); diff --git a/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-008.js b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-008.js new file mode 100644 index 000000000..e0f59bb4c --- /dev/null +++ b/tests/jerry-test-suite/15/15.07/15.07.04/15.07.04.05/15.07.04.05-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(Number.prototype.toFixed("some string") === "0"); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-001.js new file mode 100644 index 000000000..ed2a2ffdd --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.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(isNaN(Math.abs(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-002.js new file mode 100644 index 000000000..4d2ad4e49 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-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(Math.abs(-0.0) === +0.0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-003.js new file mode 100644 index 000000000..b0b42303b --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-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(Math.abs(Number.NEGATIVE_INFINITY) === Number.POSITIVE_INFINITY); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-004.js new file mode 100644 index 000000000..b82521884 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-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. + +asseert(Math.abs(Number.NEGATIVE_INFINITY) === Number.POSITIVE_INFINITY); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-005.js new file mode 100644 index 000000000..34473165b --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.01/15.08.02.01-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(Math.abs(-123513745) === 123513745); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-001.js new file mode 100644 index 000000000..82e13881a --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.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(isNaN(Math.acos(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-002.js new file mode 100644 index 000000000..b1f086473 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-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(Math.acos(1.00000000000000000000001))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-003.js new file mode 100644 index 000000000..78417a0b4 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-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(Math.acos(Number.NEGATIVE_INFINITY))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-004.js new file mode 100644 index 000000000..aeef9f904 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-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(Math.acos(1) === +0.0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-005.js new file mode 100644 index 000000000..38f9e6fb4 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-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(isNaN(Math.acos(1.000000000000001))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.02-006.js new file mode 100644 index 000000000..6525d47ab --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/15.08.02.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(isNaN(Math.acos(-7))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-001.js new file mode 100644 index 000000000..ad91b019c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(Math.asin(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-002.js new file mode 100644 index 000000000..0c673e87f --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(Math.asin(1.000000000000001))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-003.js new file mode 100644 index 000000000..e9406fc46 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(Math.asin(1.0000000000000001))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-004.js new file mode 100644 index 000000000..3fb584da5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(Math.asin(-1.0000000000000001))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-005.js new file mode 100644 index 000000000..635e853bc --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(isNaN(Math.asin(-1.000000000000001))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-006.js new file mode 100644 index 000000000..f42babcee --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(isNaN(Math.asin(-3))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-007.js new file mode 100644 index 000000000..e4e427976 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(Math.asin(+0) === +0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-008.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-008.js new file mode 100644 index 000000000..7371cbca0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(Math.asin(-0) === -0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-009.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.03-009.js new file mode 100644 index 000000000..13dfbc6d1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.03/15.08.02.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(Math.asin(1) === Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-001.js new file mode 100644 index 000000000..8beb0693c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-002.js new file mode 100644 index 000000000..00346f0ee --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan(undefined))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-003.js new file mode 100644 index 000000000..d6651dc93 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan({}))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-004.js new file mode 100644 index 000000000..069594491 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan(+0) === +0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-005.js new file mode 100644 index 000000000..a43f520ad --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan(-0) === -0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-006.js new file mode 100644 index 000000000..f0cb91db4 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan(Infinity) === Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-007.js new file mode 100644 index 000000000..d70f8e8f8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan(Number.POSITIVE_INFINITY) === Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-008.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-008.js new file mode 100644 index 000000000..66b57d6ad --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan(Number.NEGATIVE_INFINITY) === -Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-009.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-009.js new file mode 100644 index 000000000..badf62990 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.04/15.08.02.04-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(Math.atan(-1) === -Math.PI / 4); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-001.js new file mode 100644 index 000000000..45f34e0c3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(NaN, 1))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-002.js new file mode 100644 index 000000000..69c4426a6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(1, NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-003.js new file mode 100644 index 000000000..a1c253a7c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(Number.MIN_VALUE, +0) === Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-004.js new file mode 100644 index 000000000..248809da6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(!(Math.atan2(0, +0) === Math.PI / 2)); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-005.js new file mode 100644 index 000000000..1b7b651c5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(1, -0) === Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-006.js new file mode 100644 index 000000000..31e6761f3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(+0, Number.MAX_VALUE) === +0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-007.js new file mode 100644 index 000000000..24d64ad9d --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(+0, +0) === +0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-008.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-008.js new file mode 100644 index 000000000..373580ac9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(+0, -0) === Math.PI); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-009.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-009.js new file mode 100644 index 000000000..1672c91dc --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(+0, -Number.MIN_VALUE) === Math.PI); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-010.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-010.js new file mode 100644 index 000000000..69badf079 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(+0, -Infinity) === Math.PI); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-011.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-011.js new file mode 100644 index 000000000..a8812a821 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-0, Infinity) === -0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-012.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-012.js new file mode 100644 index 000000000..6c225f101 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-0, +0) === -0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-013.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-013.js new file mode 100644 index 000000000..32d84a717 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-0, -0) === -Math.PI); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-014.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-014.js new file mode 100644 index 000000000..ec8dad7c1 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-0, -Number.MIN_VALUE) === -Math.PI); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-015.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-015.js new file mode 100644 index 000000000..e445009d5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-0, -Infinity) === -Math.PI); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-016.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-016.js new file mode 100644 index 000000000..3e7d61427 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-99999999, +0) === -Math.PI/2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-017.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-017.js new file mode 100644 index 000000000..d4589b444 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-99999999, -0) === -Math.PI/2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-018.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-018.js new file mode 100644 index 000000000..b9c2421cd --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(1, Infinity) === +0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-019.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-019.js new file mode 100644 index 000000000..531842f16 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(Number.MAX_VALUE, -Infinity) === Math.PI); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-020.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-020.js new file mode 100644 index 000000000..09b800e7e --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-Number.MAX_VALUE, Number.POSITIVE_INFINITY) === -0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-021.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-021.js new file mode 100644 index 000000000..6a43491e8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-Number.MIN_VALUE, Number.NEGATIVE_INFINITY) === -Math.PI); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-022.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-022.js new file mode 100644 index 000000000..4096e56d0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(Infinity, 1) === Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-023.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-023.js new file mode 100644 index 000000000..933e99763 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(Infinity, -1) === Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-024.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-024.js new file mode 100644 index 000000000..8f0b49125 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-Infinity, -1) === -Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-025.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-025.js new file mode 100644 index 000000000..40566e309 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-Infinity, -999999999) === -Math.PI / 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-026.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-026.js new file mode 100644 index 000000000..0aad30b58 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(Infinity, Infinity) === Math.PI / 4); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-027.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-027.js new file mode 100644 index 000000000..56674c540 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(Infinity, -Infinity) === 3*Math.PI / 4); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-028.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-028.js new file mode 100644 index 000000000..ff2f81038 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-Infinity, +Infinity) === -Math.PI / 4); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-029.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-029.js new file mode 100644 index 000000000..697778405 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-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(Math.atan2(-Infinity, -Infinity) === -3*Math.PI / 4); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-001.js new file mode 100644 index 000000000..5f29590eb --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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(Math.ceil(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-002.js new file mode 100644 index 000000000..177127e53 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.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 res = 1 / Math.ceil(+0) +assert(res === +Infinity && res !== -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-003.js new file mode 100644 index 000000000..453db0a88 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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(1/Math.ceil(-0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-004.js new file mode 100644 index 000000000..2898ed780 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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(Math.ceil(-Infinity) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-005.js new file mode 100644 index 000000000..3e174c8c5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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(Math.ceil(Infinity) === Number.POSITIVE_INFINITY); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-006.js new file mode 100644 index 000000000..bbb4727f6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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/Math.ceil(-0.3) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-007.js new file mode 100644 index 000000000..e7452e307 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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 (Math.ceil(-1.3) === -1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-008.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-008.js new file mode 100644 index 000000000..065debd55 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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 (Math.ceil(-1.9) === -1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-009.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-009.js new file mode 100644 index 000000000..076cc7417 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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 (Math.ceil(1.9) === 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-010.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-010.js new file mode 100644 index 000000000..43aa80387 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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 (Math.ceil(1.1) === 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-011.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-011.js new file mode 100644 index 000000000..5c76a81cd --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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(isNaN(Math.ceil("NaN"))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-012.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-012.js new file mode 100644 index 000000000..8a5496e48 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-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(Math.ceil(new Object()))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-001.js new file mode 100644 index 000000000..f19fac955 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-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(Math.cos(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-002.js new file mode 100644 index 000000000..5d11c29c6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.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. + +assert(isNaN(Math.cos(" NaN"))); + diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-003.js new file mode 100644 index 000000000..67776f1a3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-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 (Math.cos(+0) === 1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-004.js new file mode 100644 index 000000000..59d023168 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-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 (Math.cos(-0) === 1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-005.js new file mode 100644 index 000000000..61ede2b99 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-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 (isNaN(Math.cos(Infinity))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-006.js new file mode 100644 index 000000000..73248e049 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-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 (isNaN(Math.cos(-Infinity))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-007.js new file mode 100644 index 000000000..3833216f7 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.07/15.08.02.07-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 (Math.cos(Math.PI) === -1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-001.js new file mode 100644 index 000000000..41c785b50 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-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(Math.exp(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-002.js new file mode 100644 index 000000000..c5b912fb0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-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 (Math.exp(+0) === 1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-003.js new file mode 100644 index 000000000..1fc8636a5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-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(Math.exp(-0) === 1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-004.js new file mode 100644 index 000000000..028999073 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-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 (Math.exp(Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-005.js new file mode 100644 index 000000000..028999073 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-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 (Math.exp(Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-006.js new file mode 100644 index 000000000..de113564c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.08/15.08.02.08-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/Math.exp(-Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-001.js new file mode 100644 index 000000000..697150e65 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-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(Math.floor(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-002.js new file mode 100644 index 000000000..506b55c70 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-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 (1/Math.floor(+0) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-003.js new file mode 100644 index 000000000..9a4db74af --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-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(1/Math.floor(-0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-004.js new file mode 100644 index 000000000..68e980866 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-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 (Math.floor(Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-005.js new file mode 100644 index 000000000..42987c6c9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-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 (Math.floor(-Infinity) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-006.js new file mode 100644 index 000000000..a9d03d1e9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.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 (1/Math.floor(0.2) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-007.js new file mode 100644 index 000000000..13f1bd35c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.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 (Math.floor(1.2) === -Math.ceil(-1.2)); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-008.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.09-008.js new file mode 100644 index 000000000..f49e6eb43 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.09/15.08.02.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 (Math.floor(1.9) === -Math.ceil(-1.9)); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-001.js new file mode 100644 index 000000000..f47c4ba90 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-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(Math.log(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-002.js new file mode 100644 index 000000000..db17ede16 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-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(Math.log(-0.00001))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-003.js new file mode 100644 index 000000000..10790f619 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-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(Math.log(+0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-004.js new file mode 100644 index 000000000..692cd9e55 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-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 (Math.log(-0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-005.js new file mode 100644 index 000000000..185d488ee --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-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 (1/Math.log(1) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-006.js new file mode 100644 index 000000000..c07e70f82 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.10/15.08.02.10-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 (Math.log(Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-001.js new file mode 100644 index 000000000..d7ee15965 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(Math.max(undefined))); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-002.js new file mode 100644 index 000000000..91ff80ec9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(Math.max({}))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-003.js new file mode 100644 index 000000000..375849717 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(Math.max(Object()))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-004.js new file mode 100644 index 000000000..3e3eff994 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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. + +aseert(isNaN(Math.max(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-005.js new file mode 100644 index 000000000..4205603f3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(isNaN(Math.max(5, 7, NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-006.js new file mode 100644 index 000000000..a5d534cd2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(isNaN(Math.max(5, -7, NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-007.js new file mode 100644 index 000000000..846cbc4d0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(Math.max(5, -7) === 5); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-008.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-008.js new file mode 100644 index 000000000..df1a797c0 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(!isFinite(Math.max())); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-009.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-009.js new file mode 100644 index 000000000..6a3cec1d3 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(Math.max() === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-010.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-010.js new file mode 100644 index 000000000..1c1759cb4 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(Math.max() !== Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-011.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-011.js new file mode 100644 index 000000000..f9f4d2dcc --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(Math.max(+0, -0) === +0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-012.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-012.js new file mode 100644 index 000000000..b73697b13 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(typeof Math.max === "function"); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-013.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-013.js new file mode 100644 index 000000000..3a7c81729 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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(Math.max.length === 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-014.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-014.js new file mode 100644 index 000000000..d17818802 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.11/15.08.02.11-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/Math.max(-0, +0) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-001.js new file mode 100644 index 000000000..3a8b8a6df --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min(undefined))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-002.js new file mode 100644 index 000000000..7aa2a5c24 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min({}))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-003.js new file mode 100644 index 000000000..39e584e3c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min(Object()))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-004.js new file mode 100644 index 000000000..493ee89d8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-005.js new file mode 100644 index 000000000..2bd467f4a --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(isNaN(Math.min(5, 7, NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-006.js new file mode 100644 index 000000000..79032d6db --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(isNaN(Math.min(5, -7, NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-007.js new file mode 100644 index 000000000..fb111eb21 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min(5, -7) === -7); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-008.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-008.js new file mode 100644 index 000000000..558202ca2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(!isFinite(Math.min())); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-009.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-009.js new file mode 100644 index 000000000..7b3273c21 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min() === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-010.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-010.js new file mode 100644 index 000000000..fc0039636 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min() !== Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-011.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-011.js new file mode 100644 index 000000000..f65adda0f --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min(+0, -0) === +0); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-012.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-012.js new file mode 100644 index 000000000..d85f5c910 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(typeof Math.min === "function"); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-013.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-013.js new file mode 100644 index 000000000..72379ccc9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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(Math.min.length === 2); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-014.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-014.js new file mode 100644 index 000000000..d38782c8d --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.12/15.08.02.12-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/Math.min(+0, -0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-001.js new file mode 100644 index 000000000..3d2b8b273 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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(Math.pow(2, "NaN", 5))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-002.js new file mode 100644 index 000000000..bacdd3d3b --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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(Math.pow(2, +0, 5, "qeqegfhb") === 1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-003.js new file mode 100644 index 000000000..235eb06b5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(NaN, +0, 5, "qeqegfhb") === 1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-004.js new file mode 100644 index 000000000..1b5035451 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow("qeqegfhb", -0) === 1); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-005.js new file mode 100644 index 000000000..d8ce34d4a --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (isNaN(Math.pow("qeqegfhb", 1))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-006.js new file mode 100644 index 000000000..e10871e98 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(5, Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-007.js new file mode 100644 index 000000000..b9192dc62 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (1/Math.pow(5, -Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-008.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-008.js new file mode 100644 index 000000000..b7277a113 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (1/Math.pow(-5, -Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-009.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-009.js new file mode 100644 index 000000000..1490ac7da --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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(Math.pow(-5, Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-010.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-010.js new file mode 100644 index 000000000..807a37a9c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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(Math.pow(1, Infinity))); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-011.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-011.js new file mode 100644 index 000000000..51326340b --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (isNaN(Math.pow(-1, Infinity))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-012.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-012.js new file mode 100644 index 000000000..e4f0ad666 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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(Math.pow(-1, -Infinity))); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-013.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-013.js new file mode 100644 index 000000000..1e5beeccb --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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(Math.pow(1, -Infinity))); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-014.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-014.js new file mode 100644 index 000000000..99bbf1e5a --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 / Math.pow(0.3, Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-015.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-015.js new file mode 100644 index 000000000..81aaaab08 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(-0.3, -Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-016.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-016.js new file mode 100644 index 000000000..7eb4f69e6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(Infinity, 3) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-017.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-017.js new file mode 100644 index 000000000..5709d47eb --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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/Math.pow(Infinity, -3) === Infinity); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-018.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-018.js new file mode 100644 index 000000000..76a9bcb8f --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(-Infinity, 6) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-019.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-019.js new file mode 100644 index 000000000..5e67de668 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(-Infinity, 5) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-020.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-020.js new file mode 100644 index 000000000..b2c864889 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (1/Math.pow(-Infinity, -6) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-021.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-021.js new file mode 100644 index 000000000..7196a45a6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (1/Math.pow(-Infinity, -5) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-022.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-022.js new file mode 100644 index 000000000..7f3b2f67e --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (1/Math.pow(+0, 5.2) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-023.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-023.js new file mode 100644 index 000000000..4250433d5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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. + +assert(Math.pow(+0, -5.2) === Infinity); + \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-024.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-024.js new file mode 100644 index 000000000..336373598 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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/Math.pow(-0, 12) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-025.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-025.js new file mode 100644 index 000000000..4c7d4d29c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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/Math.pow(-0, 7) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-026.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-026.js new file mode 100644 index 000000000..87e9e65a7 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(-0, -100) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-027.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-027.js new file mode 100644 index 000000000..9988daa4a --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(-0, -1) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-028.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-028.js new file mode 100644 index 000000000..4a70cd004 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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(Math.pow(-174, 1.78))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-029.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-029.js new file mode 100644 index 000000000..9e984ded2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow(2,2) === 4); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-030.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-030.js new file mode 100644 index 000000000..3838a25e9 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-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 (Math.pow("2 ","2.0") === 4); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-001.js new file mode 100644 index 000000000..fa02ee81a --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-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. + +assert (isNaN(Math.round(NaN))); + diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-002.js new file mode 100644 index 000000000..2b0e75a9f --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-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 (1/Math.round(+0) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-003.js new file mode 100644 index 000000000..8858bc2ec --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-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 (1/Math.round(-0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-004.js new file mode 100644 index 000000000..315e33bf2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-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 (Math.round(Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-005.js new file mode 100644 index 000000000..9385acb8f --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-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 (Math.round(-Infinity) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-006.js new file mode 100644 index 000000000..aff79ac34 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-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/Math.round(0.2) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-007.js new file mode 100644 index 000000000..f0d9bdbcb --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.15/15.08.02.15-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 (1/Math.round(-0.3) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-001.js new file mode 100644 index 000000000..ca731043c --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-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(Math.sin(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-002.js new file mode 100644 index 000000000..710104bd5 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-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 (1/Math.sin(+0) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-003.js new file mode 100644 index 000000000..5eec22c01 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-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 (1/Math.sin(-0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-004.js new file mode 100644 index 000000000..e958a1298 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-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(Math.sin(Infinity))); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-005.js new file mode 100644 index 000000000..9cf99fae2 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.16/15.08.02.16-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 (isNaN(Math.sin(-Infinity))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-001.js new file mode 100644 index 000000000..2eb6ba191 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-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(Math.sqrt(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-002.js new file mode 100644 index 000000000..8eae5d3a4 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-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(Math.sqrt(-2))); \ No newline at end of file diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-003.js new file mode 100644 index 000000000..6c1b07aef --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-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 (1/Math.sqrt(+0) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-004.js new file mode 100644 index 000000000..6f39bda35 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-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 (1/Math.sqrt(-0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-005.js new file mode 100644 index 000000000..2bb235294 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.17/15.08.02.17-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 (Math.sqrt(Infinity) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-001.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-001.js new file mode 100644 index 000000000..b6181f438 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-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(Math.tan(NaN))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-002.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-002.js new file mode 100644 index 000000000..a594dc6a6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-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(Math.tan(Infinity))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-003.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-003.js new file mode 100644 index 000000000..72f72765a --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-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(Math.tan(-Infinity))); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-004.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-004.js new file mode 100644 index 000000000..6150e39f8 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-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 (1/Math.tan(+0) === Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-005.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-005.js new file mode 100644 index 000000000..70cba4031 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-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 (1/Math.tan(-0) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-006.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-006.js new file mode 100644 index 000000000..386333dc6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-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/Math.tan(-0, NaN) === -Infinity); diff --git a/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-007.js b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-007.js new file mode 100644 index 000000000..089ce6fe6 --- /dev/null +++ b/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.18/15.08.02.18-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(Math.tan(undefined))); diff --git a/tools/run_test_suite_jerry.sh b/tools/run_test_suite_jerry.sh new file mode 100755 index 000000000..76dedec88 --- /dev/null +++ b/tools/run_test_suite_jerry.sh @@ -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. + +TARGET=$1 +PARSE=$2 +rm ./js.files jerry.error jerry.passed; ./tools/jerry_test.sh ./out/$TARGET/jerry . ./tests/jerry-test-suite/ $PARSE +