<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>05-KakeAgile2009/Ruby/lib/kake_bowling.rb</filename>
    </added>
    <added>
      <filename>05-KakeAgile2009/Ruby/spec/kake_bowling_spec.rb</filename>
    </added>
    <added>
      <filename>05-KakeAgile2009/Ruby/spec/kake_bowling_spec.rb~</filename>
    </added>
    <added>
      <filename>78-Fizzbuzz-ruby/lib/fizzbuzz.rb</filename>
    </added>
    <added>
      <filename>78-Fizzbuzz-ruby/spec/fizzbuzz_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -0,0 +1,47 @@
+module Main where
+
+import Test.HUnit
+import Bowling
+
+main = runTestTT tests
+
+tests = TestList
+        [testAllZeros,
+        testOneSimpleFrame,
+        testAccumulatesFrameScores,
+        testFrameScoreAddsEvenIfFirstNothing,
+        testFrameScoreAddsEvenIfSecondIsNothing,
+		  testUnderstandsXAsMarkForStrike,
+		  testComputesBonusForStrike,
+		  testComputesBonusForLastStrike
+        ]
+
+testComputesBonusForLastStrike =
+	16 ~=? bowlingScore ((take 9 (repeat &quot;--&quot;)) ++ [&quot;X42&quot;])
+
+testComputesBonusForStrike =
+	20 ~=? bowlingScore(&quot;X-&quot; : &quot;23&quot; : (take 8 (repeat &quot;--&quot;)))
+
+testUnderstandsXAsMarkForStrike = 
+	&quot;frame score should be 10 when have a strike and a blank roll after&quot; ~:
+	10 ~=? bowlingScore(&quot;X-&quot; : (take 9 (repeat &quot;--&quot;)))
+
+testFrameScoreAddsEvenIfSecondIsNothing = 
+	&quot;frame score should add the first roll even if second is nothing&quot; ~:
+	5 ~=? bowlingScore (&quot;5-&quot; : (take 9 (repeat &quot;--&quot;)))
+
+testFrameScoreAddsEvenIfFirstNothing =
+	&quot;frame score should add the second roll even if first is nothing&quot; ~:
+	5 ~=? bowlingScore (&quot;-5&quot; : (take 9 (repeat &quot;--&quot;)))
+        
+testAccumulatesFrameScores =
+	&quot;score should accumulates frame scores&quot; ~:
+	5 + 3 ~=? bowlingScore (&quot;23&quot; : (&quot;12&quot; : (take 8 (repeat &quot;--&quot;))))
+
+testOneSimpleFrame =
+	&quot;One simple frame should score the sum of two rolls&quot; ~:
+	5 ~=? bowlingScore (&quot;23&quot; : (take 9 (repeat &quot;--&quot;)))
+
+testAllZeros =
+	&quot;All zeros should score 0&quot; ~:
+	0 ~=? bowlingScore (take 10 (repeat &quot;--&quot;))</diff>
      <filename>05-KakeAgile2009/Haskell/BowlingTests.hs</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,8 @@ module Main where
 import Test.HUnit
 import FactFreq
 
-main = runTestTT testes
+--main = runTestTT testes
+main = putStr $ (show (contagem (fatorial 100))) ++ &quot;\n&quot;
 
 testes = TestList [
           testaFatorial</diff>
      <filename>76-FactFreq/Tests.hs</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>234a395e377cb1555a6a2b6577d39fb32b6f1d56</id>
    </parent>
    <parent>
      <id>8664fce4089c5fa3477cc89e63cb867c82d64586</id>
    </parent>
  </parents>
  <author>
    <name>Pedro Leal</name>
    <email>pedrombl@gmail.com</email>
  </author>
  <url>http://github.com/dojosp/participant-s-projects/commit/017535d557da463146d2efd12e045ca6a9dc83d7</url>
  <id>017535d557da463146d2efd12e045ca6a9dc83d7</id>
  <committed-date>2009-08-28T07:44:56-07:00</committed-date>
  <authored-date>2009-08-28T07:44:56-07:00</authored-date>
  <message>Merge branch 'master' of git://github.com/dojosp/participant-s-projects</message>
  <tree>af2c3749dc3a642c65a3232def6ee82d78ee9125</tree>
  <committer>
    <name>Pedro Leal</name>
    <email>pedrombl@gmail.com</email>
  </committer>
</commit>
