Skip to content
Browse files

Updated README and corrected a grammar mistake

  • Loading branch information...
1 parent 0faa12a commit 8eec835e8e309e8534bd3ca60be889664291a65b Rodrigo Flores committed Jun 19, 2012
Showing with 17 additions and 28 deletions.
  1. +9 −20 dojo-20120619/README.md
  2. +8 −8 dojo-20120619/test/rpn_test.exs
View
29 dojo-20120619/README.md
@@ -1,8 +1,8 @@
-# Dojo 3 - 2012/03/13
+# Dojo 5 - 2012/06/19
## Problem
-[Anagram Problem][Anagram Problem]
+[RPN Calculator][RPN Calculator]
## How to run
@@ -12,37 +12,26 @@ To run the tests (we suppose that you already have [Elixir][Elixir] installed)
## Participants
-* [Carlos Antônio da Silva](https://github.com/carlosantoniodasilva)
* [Carlos Galdino](https://github.com/carlosgaldino)
-* [Erich Kist](https://github.com/erichkist)
* [Fábio Yamate](https://github.com/fabioyamate)
-* [George Guimarães (aka cameraman)](https://github.com/georgeguimaraes)
-* [Hugo Baraúna](https://github.com/hugobarauna)
+* [George Guimarães](https://github.com/georgeguimaraes)
* [João Britto](https://github.com/britto)
-* [Lucas Mazza](https://github.com/lucasmazza)
* [Rafael França](https://github.com/rafaelfranca)
* [Rodrigo Flores](https://github.com/rodrigoflores)
## Retrospective
### Positives
-* New language
-* Easy problem made us focus on the language
-* Learning a new programming language and its features
-* Frequent refactorings
-* We used Git to do version control of the development
-* New participants (@carlosgaldino, @erichkist and @lucasmazza)
-* We developed it in a top-down approach. Starting with the acceptance tests.
+* We have used [Elixir];
+* We finished the problem;
+* Yakisoba before the Dojo (FTW);
+* I love RPN (from George);
### Negatives
-* We talked less than the last sessions, but we should not talk
-* We should prepare an easy way to count time
-* @cantoniodasilva didn't participate (we should think about a way for remote participation)
-* We didn't have dinner :(
+* We have talked a lot (the pilot and co-pilot should have thought about the problem)
-
-[Anagram Problem]: http://selfexplanatorycode.blogspot.com/2008/08/announcing-self-documenting-code.html
+[RPN Calculator]: http://learnyousomeerlang.com/functionally-solving-problems
[Elixir]: https://github.com/elixir-lang/elixir
View
16 dojo-20120619/test/rpn_test.exs
@@ -3,35 +3,35 @@ Code.require_file "../test_helper", __FILE__
defmodule RpnTest do
use ExUnit.Case
- test "solve with one item" do
+ test "solves with one item" do
assert Rpn.calc("1") == 1
end
- test "solve with one addition" do
+ test "solves with one addition" do
assert Rpn.calc("1 2 +") == 3
end
- test "solve with one subtraction" do
+ test "solves with one subtraction" do
assert Rpn.calc("1 2 -") == -1
end
- test "solve with one multiplication" do
+ test "solves with one multiplication" do
assert Rpn.calc("1 2 *") == 2
end
- test "solve with one division" do
+ test "solves with one division" do
assert Rpn.calc("2 2 /") == 1
end
- test "solve with two consecutive operations" do
+ test "solves with two consecutive operations" do
assert Rpn.calc("5 1 2 - +") == 4
end
- test "solve with two non-consecutive operations" do
+ test "solves with two non-consecutive operations" do
assert Rpn.calc("8 3 - 15 +") == 20
end
- test "solve a complex expression" do
+ test "solves a complex expression" do
assert Rpn.calc("10 5 + 2 * 3 - 42 7 / + 3 3 ^ +") == 60
end
end

0 comments on commit 8eec835

Please sign in to comment.
Something went wrong with that request. Please try again.