Commit Graph

29 Commits

Author SHA1 Message Date
Josh Wolfe 5730f10114 generate some type coercion tests 2017-12-21 16:40:18 -05:00
Daniel Ehrenberg cb84893f93 Add a test that BigInt does not have a parseInt function 2017-12-21 15:16:22 -05:00
Daniel Ehrenberg 422f91e8fd Remove BigInt.parseInt tests
BigInt.parseInt will be removed in
https://github.com/tc39/proposal-bigint/pull/101

This patch removes the associated test262 tests.
2017-12-21 15:16:22 -05:00
André Bargull 8311965251 Fix copy-paste bugs in BigInt tests (#1361) 2017-12-01 14:16:43 -05:00
Caio Lima dd72bf0d26 Added case when Object has valueOf and toString 2017-11-17 00:22:13 -02:00
Caio Lima 349baebc01 Added missing cases into BigIntConstructor and String parameters 2017-11-17 00:11:27 -02:00
Leo Balter 27e2c28d13
Merge pull request #1334 from anba/test-issues
Fix multiple test issues
2017-11-01 13:42:58 -04:00
André Bargull b3fc8482fb Remove empty line after | to fix monkeyYaml parsing issue
Fixes #1312
2017-11-01 08:23:43 -07:00
André Bargull 26b3015f33 Fix expected value for BigInt.prototype.toString.length
Fixes #1306
2017-11-01 08:23:42 -07:00
Rick Waldron 350d2c70bf
Merge pull request #1302 from rwaldron/bigint-fixups
Bigint fixups
2017-11-01 09:20:23 -04:00
Leo Balter 21b7e4a7bd
Add missing parameter and reorder actual, expected assertion parameters (#1326) 2017-10-30 11:22:13 -04:00
Leo Balter f8456c6dac
s/assertEquals/assert.sameValue/g (#1324)
Ref f1602088e6 (commitcomment-25237057)
2017-10-27 12:20:34 -04:00
Daniel Ehrenberg d88d1fb2dd BigInt: Add test for BigInt.prototype[Symbol.toStringTag]
Tests the fix for https://github.com/tc39/proposal-bigint/issues/92
2017-10-26 15:06:46 +02:00
Rick Waldron f1b576af51 BigInt: BigInt .toString() returns only decimal digits, does not include BigIntLiteralSuffix 2017-10-19 11:53:18 -04:00
Rick Waldron a7fbcf3d9a BigInt: BigInt(Number.MAX_SAFE_INTEGER) & BigInt(-Number.MAX_SAFE_INTEGER) 2017-10-18 17:14:05 -04:00
Rick Waldron 08a967c8a4 BigInt: NaN is tested in nan-throws-rangeerror.js 2017-10-18 17:08:13 -04:00
Rick Waldron e2e534b210 BigInt: NewTarget tests shouldn't include anything reaches step 2 2017-10-18 17:07:33 -04:00
Robin Templeton 72fb638ca7 BigInt.parseInt tests (#1208)
* BigInt.parseInt tests

* update for PR#1208

* fix copyright notices
2017-10-17 12:40:22 -04:00
Robin Templeton 0d44bc821d [BigInt] constructor, name, length properties 2017-10-16 12:55:56 -04:00
Leo Balter b77af3aa0f
Update tests for BigInt.prototype.toString 2017-10-12 16:19:46 -04:00
Robin Templeton 8ca8f06ba1
BigInt.prototype.toString 2017-10-12 15:13:52 -04:00
Leo Balter 9737a5ff73 Improve tests for BigInt.prototype.valueOf (#1256)
* Improve tests for BigInt.prototype.valueOf

* fixup! Improve tests for BigInt.prototype.valueOf

* fixup! Improve tests for BigInt.prototype.valueOf

* fixup! Improve tests for BigInt.prototype.valueOf
2017-10-03 16:51:07 -04:00
Robin Templeton 5f338a30a1 Add tests for BigInt.prototype.valueOf (#1234)
* BigInt valueOf tests

* add features from typeCoercion.js
2017-10-02 16:13:09 -04:00
Josh Wolfe 781388bddf fix copypaste error 2017-09-21 11:42:23 -07:00
Josh Wolfe dafde72971 BigInt.asUintN tests
* typeCoercion.js supports ToIndex
* typeCoercion.js supports ToBigInt
* updated BigInt.asIntN type coercion tests to use typeCoercion.js
2017-09-12 18:38:29 -07:00
Josh Wolfe 443b15e43e Add tests for BitInt.asIntN (#1191) 2017-09-06 13:52:08 -04:00
André Bargull ed2093b5f0 Add features flag for BigInt to the only test missing it 2017-09-05 11:18:06 -04:00
Leo Balter 7765873c3e
Refactor tests for the BigInt construtor 2017-08-25 15:56:11 -04:00
Robin Templeton 37beb36524
add BigInt tests 2017-08-24 15:58:14 -04:00