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

fixes for some test failures on IE and Firefox #6766

Merged
merged 3 commits into from
Jul 2, 2018
Merged

Conversation

likangning93
Copy link
Contributor

Fixes for some low-hanging (and admittedly low-impact) test failures for IE and Firefox.

@cesium-concierge
Copy link

Signed CLA is on file.

@likangning93, thanks for the pull request! Maintainers, we have a signed CLA from @likangning93, so you can review this at any time.

⚠️ I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.


I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.

🌍 🌎 🌏

@@ -33,11 +33,11 @@ defineSuite([
var values = attribute.values;
var componentsPerAttribute = attribute.componentsPerAttribute;
var vertexCount = values.length / componentsPerAttribute;
var firstVertex = values.slice(0, componentsPerAttribute);
var firstVertex = Array.prototype.slice.call(values, 0, componentsPerAttribute);
Copy link
Contributor

Choose a reason for hiding this comment

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

expect(CesiumMath.toDegrees(r.south)).toEqual(-1.414213562373095);
expect(CesiumMath.toDegrees(r.east)).toEqual(1.414213562373095);
expect(CesiumMath.toDegrees(r.west)).toEqual(-1.4142135623730951);
expect(CesiumMath.toDegrees(r.north)).toEqualEpsilon(1.414213562373095, CesiumMath.EPSILON7);
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't epsilon 7 a little low here? Is that really the best we can do? Same for circle geometry.

@mramato
Copy link
Contributor

mramato commented Jul 2, 2018

Thanks @likangning93

Merging after testing locally to speed up the release process.

@mramato mramato merged commit 1918281 into master Jul 2, 2018
@mramato mramato deleted the fixSomeTestFailures branch July 2, 2018 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants