Skip to content

Instantly share code, notes, and snippets.

@KristofferV
Last active March 20, 2017 16:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KristofferV/60eafd920c799b73dd6660965039f5a8 to your computer and use it in GitHub Desktop.
Save KristofferV/60eafd920c799b73dd6660965039f5a8 to your computer and use it in GitHub Desktop.
C.A.G Geometry Calculator Node.js

C.A.G Geometry Calculator Node.js

The mission should you choose to accept:

Create software that calculates the:

  1. circumference of a triangle
  2. area of a triangle
  3. circumference of an rectangle
  4. area of an rectangle
  5. total area of multiple shapes (not only triangles and rectangles but also other type of shapes)

Here you can find how circumference and area is calculated http://www.mathinary.com/triangle__right_angled_area_and_circumference_of_a_triangle.jsp

We are looking for solutions written in node.js

The software should of course be tested properly using the testing framework of your taste.

The solution should be public on github.com with a Readme explaining how to get started and how to run the tests.

We will look for DRY, SOLID, KISS, TDD.

If you have any questions contact kristoffer.vidmo@cag.se

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment