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

Add support for min and max methods on points (Issue #91) #108

Merged
merged 1 commit into from Oct 24, 2015

Conversation

@absoludity
Copy link
Contributor

absoludity commented Oct 14, 2015

Added support for min and max methods for PointND<T: num_lib::traits::Float>
Added tests for scalar multiplication of points, expecting them to fail - but they didn't.
Modularised tests so that we can have a test_min for each type, rather than test_min_nd etc.

Review on Reviewable

Add some missing tests and modularise tests (better output).
Use assert_eq consistently.
@absoludity absoludity force-pushed the absoludity:scalar-mul-issue-91 branch from ceed6e0 to 84150a9 Oct 14, 2015
@jdm
Copy link
Member

jdm commented Oct 14, 2015

r? @glennw

@glennw
Copy link
Member

glennw commented Oct 23, 2015

Apologies, I missed this PR. Will take a look at it when I can.

@pcwalton
Copy link
Contributor

pcwalton commented Oct 24, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Oct 24, 2015

📌 Commit 84150a9 has been approved by pcwalton

@bors-servo
Copy link
Contributor

bors-servo commented Oct 24, 2015

Testing commit 84150a9 with merge 046c1f8...

bors-servo added a commit that referenced this pull request Oct 24, 2015
Add support for min and max methods on points (Issue #91)

Added support for min and max methods for PointND<T: num_lib::traits::Float>
Added tests for scalar multiplication of points, expecting them to fail - but they didn't.
Modularised tests so that we can have a test_min for each type, rather than test_min_nd etc.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/euclid/108)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 24, 2015

☀️ Test successful - travis

@bors-servo bors-servo merged commit 84150a9 into servo:master Oct 24, 2015
1 of 2 checks passed
1 of 2 checks passed
homu Testing commit 84150a9 with merge 046c1f8...
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.