-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Conversation
@likangning93, thanks for the pull request! Maintainers, we have a signed CLA from @likangning93, so you can review this at any time.
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specs/Core/RectangleGeometrySpec.js
Outdated
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); |
There was a problem hiding this comment.
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.
Thanks @likangning93 Merging after testing locally to speed up the release process. |
Fixes for some low-hanging (and admittedly low-impact) test failures for IE and Firefox.