Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic tests for BigInt #1198

Merged
merged 2 commits into from
Aug 29, 2017
Merged

Basic tests for BigInt #1198

merged 2 commits into from
Aug 29, 2017

Conversation

leobalter
Copy link
Member

This is only a refactor of tests from #1148. I'm not trying neither willing to add coverage in this PR.

@leobalter
Copy link
Member Author

Merging this will allow me to follow with more coverage in the same parts that are not complete yet.

@littledan littledan merged commit dcf6b7b into tc39:master Aug 29, 2017
@littledan littledan mentioned this pull request Aug 29, 2017
assert.sameValue(0 >= 0n, true);
assert.sameValue(0n >= 0, true);
assert.sameValue(1n >= Number.MAX_VALUE, false);
assert.sameValue(Number.MIN_VALUE >= 0n, false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why the expected value for this case should be false (also applies to the other comparison operators tests with Number.MIN_VALUE). Number.MIN_VALUE is positive, non-zero number, so shouldn't this comparison return true?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I missed this assertion when updating the assertions from the similar <= file.

leobalter added a commit to leobalter/test262 that referenced this pull request Sep 5, 2017
@leobalter leobalter deleted the bigint-ctor branch September 5, 2017 17:40
rwaldron pushed a commit that referenced this pull request Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants