summaryrefslogtreecommitdiff
path: root/go/triangle/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'go/triangle/README.md')
-rw-r--r--go/triangle/README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/go/triangle/README.md b/go/triangle/README.md
new file mode 100644
index 0000000..8f1485d
--- /dev/null
+++ b/go/triangle/README.md
@@ -0,0 +1,29 @@
+# Triangle
+
+Write a program that can tell you if a triangle is equilateral, isosceles, or scalene.
+
+The program should raise an error if the triangle cannot exist.
+
+## Hint
+
+The sum of the lengths of any two sides of a triangle always exceeds or
+is equal to the length of the third side, a principle known as the _triangle
+inequality_.
+
+To run the tests simply run the command `go test` in the exercise directory.
+
+If the test suite contains benchmarks, you can run these with the `-bench`
+flag:
+
+ go test -bench .
+
+For more detailed info about the Go track see the [help
+page](http://exercism.io/languages/go).
+
+## Source
+
+The Ruby Koans triangle project, parts 1 & 2 [http://rubykoans.com](http://rubykoans.com)
+
+## Submitting Incomplete Problems
+It's possible to submit an incomplete solution so you can see how others have completed the exercise.
+