test262/test/language/expressions/exponentiation
Mike Pennisi 650e7add4a Improve coverage for ops involving negative zero
Prior to this commit, the modified tests used the strict equality
operator to compare computed values with negative zero. Due to the
semantics of that operator, these tests would spuriously pass if the
value under test was in fact positive zero.

Update the tests to be more precise by instead asserting equality with
the `assert.sameValue` utility method (since that method correctly
distinguishes between negative zero and positive zero).
2021-09-16 16:35:41 -04:00
..
applying-the-exp-operator_A1.js Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
applying-the-exp-operator_A2.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A3.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A4.js Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
applying-the-exp-operator_A5.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A6.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A7.js Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
applying-the-exp-operator_A8.js Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
applying-the-exp-operator_A9.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A10.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A11.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A12.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A13.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A14.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A15.js Improve coverage for ops involving negative zero 2021-09-16 16:35:41 -04:00
applying-the-exp-operator_A16.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A17.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A18.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A19.js Improve coverage for ops involving negative zero 2021-09-16 16:35:41 -04:00
applying-the-exp-operator_A20.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A21.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A22.js chore: migrate $ERROR -> throw new Test262Error in test/language/e* (#3098) 2021-07-28 13:48:39 -07:00
applying-the-exp-operator_A23.js Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
bigint-and-number.js add missing newlines in tests 2019-11-10 20:18:56 -08:00
bigint-arithmetic.js add missing newlines in tests 2019-11-10 20:18:56 -08:00
bigint-errors.js add missing newlines in tests 2019-11-10 20:18:56 -08:00
bigint-negative-exponent-throws.js add missing newlines in tests 2019-11-10 20:18:56 -08:00
bigint-toprimitive.js add missing newlines in tests 2019-11-10 20:18:56 -08:00
bigint-wrapped-values.js add missing newlines in tests 2019-11-10 20:18:56 -08:00
bigint-zero-base-zero-exponent.js add missing newlines in tests 2019-11-10 20:18:56 -08:00
exp-assignment-operator.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
exp-operator-evaluation-order.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
exp-operator-precedence-unary-expression-semantics.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
exp-operator-precedence-update-expression-semantics.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
exp-operator-syntax-error-bitnot-unary-expression-base.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
exp-operator-syntax-error-delete-unary-expression-base.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
exp-operator-syntax-error-logical-not-unary-expression-base.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
exp-operator-syntax-error-negate-unary-expression-base.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
exp-operator-syntax-error-plus-unary-expression-base.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
exp-operator-syntax-error-typeof-unary-expression-base.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
exp-operator-syntax-error-void-unary-expression-base.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
exp-operator.js Convert "info" to "description" 2016-02-23 14:24:08 -08:00
int32_min-exponent.js Add tests for the behavior of INT32_MIN (-2147483648) as exponent with the exponentiation operator and with Math.pow (which shares the same core algorithm in the spec, but might be differently implemented in actual implementations). (#1445) 2018-02-14 17:02:39 -05:00
order-of-evaluation.js remove unnecessary method syntax 2018-01-25 14:00:43 -05:00