Skip to content

An equilateral triangle is a special case of an isosceles triangle. #206

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

Closed
wants to merge 1 commit into from

Conversation

elahn
Copy link

@elahn elahn commented Sep 17, 2016

An isosceles triangle is a triangle with (at least) two equal sides. A triangle with all sides equal is called an equilateral triangle, and a triangle with no sides equal is called a scalene triangle. An equilateral triangle is therefore a special case of an isosceles triangle having not just two, but all three sides and angles equal.

http://mathworld.wolfram.com/IsoscelesTriangle.html

@IanWhitney
Copy link
Contributor

Thanks for the PR! Much appreciated.

The Rust implementation of the triangle exercise follows the current canonical test suite, which doesn't do these sorts of tests.

Instead of changing only our tests, I suggest a PR against the standard test suite. If that PR is merged, then all tracks that implement the Triangles can improve their tests.

@IanWhitney
Copy link
Contributor

@elahn I started a conversation on the topic here: exercism/problem-specifications#379

@elahn
Copy link
Author

elahn commented Oct 24, 2016

This should be reopened now, right?

@IanWhitney
Copy link
Contributor

I'd like to wait for the PR in x-common to get merged first.

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.

2 participants