trackler 1.0.0 → 1.0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (288) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -0
  3. data/CHANGELOG.md +9 -1
  4. data/README.md +10 -0
  5. data/common/CONTRIBUTING.md +50 -2
  6. data/common/exercises/alphametics/canonical-data.json +10 -10
  7. data/common/exercises/markdown/canonical-data.json +4 -4
  8. data/common/exercises/pov/canonical-data.json +356 -0
  9. data/lib/trackler/version.rb +1 -1
  10. data/trackler.gemspec +1 -2
  11. data/tracks/c/config.json +11 -1
  12. data/tracks/c/exercises/binary-search/makefile +16 -0
  13. data/tracks/c/exercises/binary-search/src/example.c +21 -0
  14. data/tracks/c/exercises/binary-search/src/example.h +8 -0
  15. data/tracks/c/exercises/binary-search/test/test_binary_search.c +99 -0
  16. data/tracks/c/exercises/binary-search/test/vendor/unity.c +1300 -0
  17. data/tracks/c/exercises/binary-search/test/vendor/unity.h +274 -0
  18. data/tracks/c/exercises/binary-search/test/vendor/unity_internals.h +701 -0
  19. data/tracks/clojure/config.json +3 -2
  20. data/tracks/clojure/exercises/bank-account/project.clj +4 -0
  21. data/tracks/clojure/exercises/bank-account/src/example.clj +17 -0
  22. data/tracks/clojure/exercises/bank-account/test/bank_account_test.clj +44 -0
  23. data/tracks/clojure/exercises/isogram/project.clj +4 -0
  24. data/tracks/clojure/exercises/isogram/src/example.clj +5 -0
  25. data/tracks/clojure/exercises/isogram/test/isogram_test.clj +17 -0
  26. data/tracks/csharp/config.json +27 -87
  27. data/tracks/csharp/exercises/exercises.csproj +265 -1
  28. data/tracks/csharp/exercises/grep/Example.cs +114 -0
  29. data/tracks/csharp/exercises/grep/GrepTest.cs +376 -0
  30. data/tracks/csharp/exercises/paket.references +2 -1
  31. data/tracks/csharp/exercises/poker/Example.cs +96 -0
  32. data/tracks/csharp/exercises/poker/PokerTest.cs +171 -0
  33. data/tracks/csharp/exercises/sgf-parsing/Example.cs +61 -0
  34. data/tracks/csharp/exercises/sgf-parsing/SgfParsing.cs +13 -0
  35. data/tracks/csharp/exercises/sgf-parsing/SgfParsingTest.cs +158 -0
  36. data/tracks/csharp/paket.dependencies +2 -1
  37. data/tracks/csharp/paket.lock +72 -0
  38. data/tracks/ecmascript/exercises/simple-cipher/simple-cipher.spec.js +1 -1
  39. data/tracks/elisp/config.json +6 -1
  40. data/tracks/elisp/exercises/etl/etl-test.el +90 -0
  41. data/tracks/elisp/exercises/etl/etl.el +9 -0
  42. data/tracks/elisp/exercises/etl/example.el +22 -0
  43. data/tracks/elisp/exercises/nucleotide-count/example.el +19 -0
  44. data/tracks/elisp/exercises/nucleotide-count/nucleotide-count-test.el +34 -0
  45. data/tracks/elisp/exercises/nucleotide-count/nucleotide-count.el +9 -0
  46. data/tracks/elisp/exercises/perfect-numbers/example.el +28 -0
  47. data/tracks/elisp/exercises/perfect-numbers/perfect-numbers-test.el +24 -0
  48. data/tracks/elisp/exercises/perfect-numbers/perfect-numbers.el +10 -0
  49. data/tracks/elisp/exercises/roman-numerals/example.el +36 -0
  50. data/tracks/elisp/exercises/roman-numerals/roman-numerals-test.el +30 -0
  51. data/tracks/elisp/exercises/roman-numerals/roman-numerals.el +10 -0
  52. data/tracks/elisp/exercises/word-count/example.el +18 -0
  53. data/tracks/elisp/exercises/word-count/word-count-test.el +64 -0
  54. data/tracks/elisp/exercises/word-count/word-count.el +9 -0
  55. data/tracks/elixir/README.md +4 -4
  56. data/tracks/elixir/SETUP.md +3 -3
  57. data/tracks/elixir/docs/TESTS.md +3 -3
  58. data/tracks/elixir/exercises/accumulate/accumulate_test.exs +7 -7
  59. data/tracks/elixir/exercises/acronym/acronym_test.exs +5 -5
  60. data/tracks/elixir/exercises/allergies/allergies_test.exs +13 -13
  61. data/tracks/elixir/exercises/anagram/anagram_test.exs +12 -12
  62. data/tracks/elixir/exercises/atbash-cipher/atbash_cipher_test.exs +9 -9
  63. data/tracks/elixir/exercises/bank-account/bank_account_test.exs +5 -5
  64. data/tracks/elixir/exercises/beer-song/beer_song_test.exs +6 -6
  65. data/tracks/elixir/exercises/binary-search/binary_search_test.exs +7 -7
  66. data/tracks/elixir/exercises/binary/binary_test.exs +13 -13
  67. data/tracks/elixir/exercises/bob/bob_test.exs +15 -15
  68. data/tracks/elixir/exercises/bowling/bowling_test.exs +18 -18
  69. data/tracks/elixir/exercises/bracket-push/bracket_push_test.exs +12 -12
  70. data/tracks/elixir/exercises/change/change_test.exs +7 -7
  71. data/tracks/elixir/exercises/connect/connect_test.exs +9 -9
  72. data/tracks/elixir/exercises/crypto-square/crypto_square_test.exs +7 -7
  73. data/tracks/elixir/exercises/custom-set/custom_set_test.exs +11 -11
  74. data/tracks/elixir/exercises/diamond/diamond_test.exs +4 -4
  75. data/tracks/elixir/exercises/difference-of-squares/difference_of_squares_test.exs +10 -10
  76. data/tracks/elixir/exercises/dot-dsl/dot_dsl_test.exs +17 -17
  77. data/tracks/elixir/exercises/etl/etl_test.exs +5 -5
  78. data/tracks/elixir/exercises/flatten-array/flatten_array_test.exs +6 -6
  79. data/tracks/elixir/exercises/forth/forth_test.exs +16 -16
  80. data/tracks/elixir/exercises/gigasecond/gigasecond_test.exs +5 -5
  81. data/tracks/elixir/exercises/grade-school/grade_school_test.exs +6 -6
  82. data/tracks/elixir/exercises/grains/grains_test.exs +9 -9
  83. data/tracks/elixir/exercises/hamming/hamming_test.exs +6 -6
  84. data/tracks/elixir/exercises/hello-world/hello_world_test.exs +3 -3
  85. data/tracks/elixir/exercises/hexadecimal/hexadecimal_test.exs +11 -11
  86. data/tracks/elixir/exercises/isogram/isogram_test.exs +10 -10
  87. data/tracks/elixir/exercises/kindergarten-garden/garden_test.exs +7 -7
  88. data/tracks/elixir/exercises/largest-series-product/largest_series_product_test.exs +17 -17
  89. data/tracks/elixir/exercises/leap/leap_test.exs +5 -5
  90. data/tracks/elixir/exercises/list-ops/list_ops_test.exs +26 -26
  91. data/tracks/elixir/exercises/luhn/luhn_test.exs +7 -7
  92. data/tracks/elixir/exercises/markdown/markdown_test.exs +10 -10
  93. data/tracks/elixir/exercises/meetup/meetup_test.exs +92 -92
  94. data/tracks/elixir/exercises/minesweeper/minesweeper_test.exs +8 -8
  95. data/tracks/elixir/exercises/nth-prime/nth_prime_test.exs +6 -6
  96. data/tracks/elixir/exercises/nucleotide-count/example.exs +0 -5
  97. data/tracks/elixir/exercises/nucleotide-count/nucleotide_count_test.exs +7 -7
  98. data/tracks/elixir/exercises/palindrome-products/palindrome_products_test.exs +6 -6
  99. data/tracks/elixir/exercises/pangram/pangram_test.exs +11 -11
  100. data/tracks/elixir/exercises/parallel-letter-frequency/parallel_letter_frequency_test.exs +10 -10
  101. data/tracks/elixir/exercises/pascals-triangle/pascals_triangle_test.exs +7 -7
  102. data/tracks/elixir/exercises/phone-number/phone_number_test.exs +10 -10
  103. data/tracks/elixir/exercises/prime-factors/prime_factors_test.exs +13 -13
  104. data/tracks/elixir/exercises/pythagorean-triplet/pythagorean_triplet_test.exs +8 -8
  105. data/tracks/elixir/exercises/queen-attack/queen_attack_test.exs +16 -16
  106. data/tracks/elixir/exercises/rail-fence-cipher/rail_fence_cipher_test.exs +13 -13
  107. data/tracks/elixir/exercises/raindrops/raindrops_test.exs +17 -17
  108. data/tracks/elixir/exercises/rna-transcription/rna_transcription_test.exs +6 -6
  109. data/tracks/elixir/exercises/robot-simulator/robot_simulator_test.exs +6 -6
  110. data/tracks/elixir/exercises/roman-numerals/roman_numerals_test.exs +19 -19
  111. data/tracks/elixir/exercises/run-length-encoding/rle_test.exs +6 -6
  112. data/tracks/elixir/exercises/saddle-points/saddle_points_test.exs +11 -11
  113. data/tracks/elixir/exercises/scrabble-score/scrabble_score_test.exs +9 -9
  114. data/tracks/elixir/exercises/sieve/sieve_test.exs +3 -3
  115. data/tracks/elixir/exercises/space-age/space_age_test.exs +9 -9
  116. data/tracks/elixir/exercises/sublist/sublist_test.exs +20 -20
  117. data/tracks/elixir/exercises/sum-of-multiples/sum_of_multiples_test.exs +11 -11
  118. data/tracks/elixir/exercises/test_helper.exs +1 -1
  119. data/tracks/elixir/exercises/triangle/triangle_test.exs +16 -16
  120. data/tracks/elixir/exercises/word-count/word_count_test.exs +9 -9
  121. data/tracks/elixir/exercises/wordy/wordy_test.exs +16 -16
  122. data/tracks/elixir/exercises/zipper/zipper_test.exs +13 -13
  123. data/tracks/fsharp/build.fsx +2 -7
  124. data/tracks/fsharp/config.json +0 -104
  125. data/tracks/fsharp/exercises/grep/GrepTest.fs +7 -1
  126. data/tracks/go/config.json +1 -0
  127. data/tracks/go/exercises/acronym/acronym_test.go +36 -0
  128. data/tracks/go/exercises/acronym/example.go +21 -0
  129. data/tracks/go/exercises/palindrome-products/example.go +2 -0
  130. data/tracks/go/exercises/palindrome-products/palindrome_products_test.go +10 -0
  131. data/tracks/go/exercises/phone-number/example.go +2 -0
  132. data/tracks/go/exercises/phone-number/phone_number_test.go +44 -27
  133. data/tracks/go/exercises/robot-simulator/defs.go +6 -6
  134. data/tracks/go/exercises/robot-simulator/example.go +22 -22
  135. data/tracks/go/exercises/robot-simulator/robot_simulator_step2_test.go +28 -28
  136. data/tracks/go/exercises/robot-simulator/robot_simulator_step3_test.go +75 -76
  137. data/tracks/go/exercises/robot-simulator/robot_simulator_test.go +10 -4
  138. data/tracks/haskell/exercises/anagram/HINTS.md +22 -0
  139. data/tracks/haskell/exercises/anagram/package.yaml +3 -0
  140. data/tracks/haskell/exercises/anagram/src/Example.hs +10 -7
  141. data/tracks/haskell/exercises/anagram/test/Tests.hs +9 -3
  142. data/tracks/haskell/exercises/beer-song/HINTS.md +18 -0
  143. data/tracks/haskell/exercises/beer-song/src/Beer.hs +301 -3
  144. data/tracks/haskell/exercises/beer-song/src/Example.hs +5 -3
  145. data/tracks/haskell/exercises/beer-song/test/Tests.hs +332 -23
  146. data/tracks/haskell/exercises/crypto-square/src/CryptoSquare.hs +3 -17
  147. data/tracks/haskell/exercises/crypto-square/src/Example.hs +12 -20
  148. data/tracks/haskell/exercises/crypto-square/test/Tests.hs +46 -86
  149. data/tracks/haskell/exercises/leap/HINTS.md +11 -0
  150. data/tracks/haskell/exercises/leap/src/LeapYear.hs +1 -0
  151. data/tracks/java/exercises/pangram/src/test/java/PangramTest.java +34 -4
  152. data/tracks/lua/exercises/pov/pov_spec.lua +0 -13
  153. data/tracks/mips/docs/ABOUT.md +1 -1
  154. data/tracks/objective-c/config.json +225 -0
  155. data/tracks/objective-c/exercises/largest-series-product/LargestSeriesProductExample.h +8 -0
  156. data/tracks/objective-c/exercises/largest-series-product/LargestSeriesProductExample.m +63 -0
  157. data/tracks/objective-c/exercises/largest-series-product/LargestSeriesProductTest.m +84 -0
  158. data/tracks/objective-c/xcodeProject/ObjectiveC.xcodeproj/project.pbxproj +18 -0
  159. data/tracks/ocaml/.travis-ci.sh +23 -0
  160. data/tracks/ocaml/.travis.yml +5 -1
  161. data/tracks/ocaml/Makefile +41 -0
  162. data/tracks/ocaml/config.json +18 -0
  163. data/tracks/ocaml/exercises/anagram/Makefile +1 -0
  164. data/tracks/ocaml/exercises/beer-song/Makefile +1 -0
  165. data/tracks/ocaml/exercises/beer-song/{beer.mli → beer_song.mli} +0 -0
  166. data/tracks/ocaml/exercises/beer-song/example.ml +1 -1
  167. data/tracks/ocaml/exercises/beer-song/test.ml +7 -6
  168. data/tracks/ocaml/exercises/bob/Makefile +1 -0
  169. data/tracks/ocaml/exercises/bowling/Makefile +1 -0
  170. data/tracks/ocaml/exercises/custom-set/Makefile +1 -0
  171. data/tracks/ocaml/exercises/difference-of-squares/.merlin +5 -0
  172. data/tracks/ocaml/exercises/difference-of-squares/Makefile +11 -0
  173. data/tracks/ocaml/exercises/difference-of-squares/difference_of_squares.mli +8 -0
  174. data/tracks/ocaml/exercises/difference-of-squares/example.ml +21 -0
  175. data/tracks/ocaml/exercises/difference-of-squares/test.ml +32 -0
  176. data/tracks/ocaml/exercises/grade-school/Makefile +1 -0
  177. data/tracks/ocaml/exercises/grade-school/{school.mli → grade_school.mli} +0 -0
  178. data/tracks/ocaml/exercises/grade-school/test.ml +27 -27
  179. data/tracks/ocaml/exercises/hamming/Makefile +1 -0
  180. data/tracks/ocaml/exercises/hangman/Makefile +1 -0
  181. data/tracks/ocaml/exercises/hello-world/Makefile +1 -1
  182. data/tracks/ocaml/exercises/hello-world/{hello.ml → hello_world.ml} +0 -0
  183. data/tracks/ocaml/exercises/hello-world/{hello.mli → hello_world.mli} +0 -0
  184. data/tracks/ocaml/exercises/hello-world/test.ml +1 -1
  185. data/tracks/ocaml/exercises/hexadecimal/Makefile +1 -0
  186. data/tracks/ocaml/exercises/leap/Makefile +1 -1
  187. data/tracks/ocaml/exercises/list-ops/Makefile +1 -0
  188. data/tracks/ocaml/exercises/luhn/Makefile +1 -0
  189. data/tracks/ocaml/exercises/minesweeper/Makefile +1 -0
  190. data/tracks/ocaml/exercises/nucleotide-count/Makefile +1 -0
  191. data/tracks/ocaml/exercises/nucleotide-count/{dna.mli → nucleotide_count.mli} +0 -0
  192. data/tracks/ocaml/exercises/nucleotide-count/test.ml +7 -7
  193. data/tracks/ocaml/exercises/phone-number/Makefile +1 -0
  194. data/tracks/ocaml/exercises/phone-number/{phone.mli → phone_number.mli} +0 -0
  195. data/tracks/ocaml/exercises/phone-number/test.ml +10 -10
  196. data/tracks/ocaml/exercises/point-mutations/Makefile +8 -0
  197. data/tracks/ocaml/exercises/point-mutations/example.ml +0 -0
  198. data/tracks/ocaml/exercises/prime-factors/Makefile +1 -0
  199. data/tracks/ocaml/exercises/raindrops/.merlin +5 -0
  200. data/tracks/ocaml/exercises/raindrops/Makefile +11 -0
  201. data/tracks/ocaml/exercises/raindrops/example.ml +11 -0
  202. data/tracks/ocaml/exercises/raindrops/raindrops.mli +7 -0
  203. data/tracks/ocaml/exercises/raindrops/test.ml +48 -0
  204. data/tracks/ocaml/exercises/rna-transcription/Makefile +1 -0
  205. data/tracks/ocaml/exercises/rna-transcription/{dna.mli → rna_transcription.mli} +0 -0
  206. data/tracks/ocaml/exercises/rna-transcription/test.ml +6 -6
  207. data/tracks/ocaml/exercises/roman-numerals/Makefile +1 -0
  208. data/tracks/ocaml/exercises/say/.gitignore +1 -0
  209. data/tracks/ocaml/exercises/say/.merlin +5 -0
  210. data/tracks/ocaml/exercises/say/Makefile +11 -0
  211. data/tracks/ocaml/exercises/say/example.ml +52 -0
  212. data/tracks/ocaml/exercises/say/say.mli +8 -0
  213. data/tracks/ocaml/exercises/say/test.ml +65 -0
  214. data/tracks/ocaml/exercises/space-age/Makefile +1 -0
  215. data/tracks/ocaml/exercises/word-count/Makefile +1 -0
  216. data/tracks/ocaml/exercises/word-count/example.ml +1 -1
  217. data/tracks/ocaml/exercises/zipper/HINT.md +5 -6
  218. data/tracks/ocaml/exercises/zipper/Makefile +1 -0
  219. data/tracks/ocaml/exercises/zipper/example.ml +2 -2
  220. data/tracks/ocaml/exercises/zipper/tree.ml +1 -1
  221. data/tracks/php/config.json +7 -1
  222. data/tracks/php/exercises/variable-length-quantity/example.php +56 -0
  223. data/tracks/php/exercises/variable-length-quantity/variable-length-quantity_test.php +149 -0
  224. data/tracks/python/config.json +1 -1
  225. data/tracks/ruby/.rubocop.yml +1915 -26
  226. data/tracks/ruby/bin/generate-acronym +7 -0
  227. data/tracks/ruby/bin/generate-nth-prime +7 -0
  228. data/tracks/ruby/config.json +482 -0
  229. data/tracks/ruby/exercises/acronym/.version +1 -0
  230. data/tracks/ruby/exercises/acronym/acronym_test.rb +45 -21
  231. data/tracks/ruby/exercises/acronym/example.rb +1 -1
  232. data/tracks/ruby/exercises/acronym/example.tt +19 -0
  233. data/tracks/ruby/exercises/anagram/anagram_test.rb +1 -1
  234. data/tracks/ruby/exercises/nth-prime/.version +1 -0
  235. data/tracks/ruby/exercises/nth-prime/example.rb +4 -0
  236. data/tracks/ruby/exercises/nth-prime/example.tt +23 -0
  237. data/tracks/ruby/exercises/nth-prime/nth_prime_test.rb +33 -10
  238. data/tracks/ruby/exercises/raindrops/.version +1 -1
  239. data/tracks/ruby/exercises/raindrops/example.rb +1 -1
  240. data/tracks/ruby/exercises/raindrops/raindrops_test.rb +20 -5
  241. data/tracks/ruby/lib/acronym_cases.rb +19 -0
  242. data/tracks/ruby/lib/generator.rb +3 -2
  243. data/tracks/ruby/lib/nth_prime_cases.rb +23 -0
  244. data/tracks/ruby/lib/raindrop_cases.rb +1 -1
  245. data/tracks/rust/README.md +1 -1
  246. data/tracks/scala/exercises/leap/src/test/scala/leap_test.scala +10 -0
  247. data/tracks/scala/exercises/prime-factors/example.scala +2 -5
  248. data/tracks/scala/exercises/prime-factors/src/test/scala/primefactors_test.scala +11 -13
  249. data/tracks/scheme/{anagram → exercises/anagram}/anagram-test.scm +0 -0
  250. data/tracks/scheme/{anagram → exercises/anagram}/anagram.scm +0 -0
  251. data/tracks/scheme/{anagram → exercises/anagram}/example.scm +0 -0
  252. data/tracks/scheme/{bob → exercises/bob}/bob-test.scm +0 -0
  253. data/tracks/scheme/{bob → exercises/bob}/bob.scm +0 -0
  254. data/tracks/scheme/{bob → exercises/bob}/example.scm +0 -0
  255. data/tracks/scheme/{difference-of-squares → exercises/difference-of-squares}/difference-of-squares-test.scm +0 -0
  256. data/tracks/scheme/{difference-of-squares → exercises/difference-of-squares}/example.scm +0 -0
  257. data/tracks/scheme/{difference-of-squares → exercises/difference-of-squares}/squares.scm +0 -0
  258. data/tracks/scheme/{grains → exercises/grains}/example.scm +0 -0
  259. data/tracks/scheme/{grains → exercises/grains}/grains-test.scm +0 -0
  260. data/tracks/scheme/{grains → exercises/grains}/grains.scm +0 -0
  261. data/tracks/scheme/{hamming → exercises/hamming}/example.scm +0 -0
  262. data/tracks/scheme/{hamming → exercises/hamming}/hamming-test.scm +0 -0
  263. data/tracks/scheme/{hamming → exercises/hamming}/hamming.scm +0 -0
  264. data/tracks/scheme/{hello-world → exercises/hello-world}/example.scm +0 -0
  265. data/tracks/scheme/{hello-world → exercises/hello-world}/hello-world-test.scm +0 -0
  266. data/tracks/scheme/{hello-world → exercises/hello-world}/hello-world.scm +0 -0
  267. data/tracks/scheme/{leap → exercises/leap}/example.scm +0 -0
  268. data/tracks/scheme/{leap → exercises/leap}/leap-test.scm +0 -0
  269. data/tracks/scheme/{leap → exercises/leap}/leap-year.scm +0 -0
  270. data/tracks/scheme/{list-ops → exercises/list-ops}/example.scm +0 -0
  271. data/tracks/scheme/{list-ops → exercises/list-ops}/list-ops-test.scm +0 -0
  272. data/tracks/scheme/{list-ops → exercises/list-ops}/list-ops.scm +0 -0
  273. data/tracks/scheme/{nucleotide-count → exercises/nucleotide-count}/example.scm +0 -0
  274. data/tracks/scheme/{nucleotide-count → exercises/nucleotide-count}/nucleotide-count-test.scm +0 -0
  275. data/tracks/scheme/{nucleotide-count → exercises/nucleotide-count}/nucleotide-count.scm +0 -0
  276. data/tracks/scheme/{phone-number → exercises/phone-number}/example.scm +0 -0
  277. data/tracks/scheme/{phone-number → exercises/phone-number}/phone-number-test.scm +0 -0
  278. data/tracks/scheme/{phone-number → exercises/phone-number}/phone-number.scm +0 -0
  279. data/tracks/scheme/{raindrops → exercises/raindrops}/example.scm +0 -0
  280. data/tracks/scheme/{raindrops → exercises/raindrops}/raindrops-test.scm +0 -0
  281. data/tracks/scheme/{raindrops → exercises/raindrops}/raindrops.scm +0 -0
  282. data/tracks/scheme/{rna-transcription → exercises/rna-transcription}/dna.scm +0 -0
  283. data/tracks/scheme/{rna-transcription → exercises/rna-transcription}/example.scm +0 -0
  284. data/tracks/scheme/{rna-transcription → exercises/rna-transcription}/rna-transcription-test.scm +0 -0
  285. data/tracks/scheme/{robot-name → exercises/robot-name}/example.scm +0 -0
  286. data/tracks/scheme/{robot-name → exercises/robot-name}/robot-name-test.scm +0 -0
  287. data/tracks/scheme/{robot-name → exercises/robot-name}/robot.scm +0 -0
  288. metadata +125 -64
@@ -3,68 +3,68 @@ if !System.get_env("EXERCISM_TEST_EXAMPLES") do
3
3
  end
4
4
 
5
5
  ExUnit.start
6
- ExUnit.configure trace: true
6
+ ExUnit.configure exclude: :pending, trace: true
7
7
 
8
8
  defmodule MarkdownTest do
9
9
  use ExUnit.Case
10
10
 
11
- # @tag :skip
11
+ # @tag :pending
12
12
  test "parses normal text as a paragraph" do
13
13
  input = "This will be a paragraph"
14
14
  expected = "<p>This will be a paragraph</p>"
15
15
  assert Markdown.parse(input) == expected
16
16
  end
17
17
 
18
- @tag :skip
18
+ @tag :pending
19
19
  test "parsing italics" do
20
20
  input = "_This will be italic_"
21
21
  expected = "<p><em>This will be italic</em></p>"
22
22
  assert Markdown.parse(input) == expected
23
23
  end
24
24
 
25
- @tag :skip
25
+ @tag :pending
26
26
  test "parsing bold text" do
27
27
  input = "__This will be bold__"
28
28
  expected = "<p><strong>This will be bold</strong></p>"
29
29
  assert Markdown.parse(input) == expected
30
30
  end
31
31
 
32
- @tag :skip
32
+ @tag :pending
33
33
  test "mixed normal, italics and bold text" do
34
34
  input = "This will _be_ __mixed__"
35
35
  expected = "<p>This will <em>be</em> <strong>mixed</strong></p>"
36
36
  assert Markdown.parse(input) == expected
37
37
  end
38
38
 
39
- @tag :skip
39
+ @tag :pending
40
40
  test "with h1 header level" do
41
41
  input = "# This will be an h1"
42
42
  expected = "<h1>This will be an h1</h1>"
43
43
  assert Markdown.parse(input) == expected
44
44
  end
45
45
 
46
- @tag :skip
46
+ @tag :pending
47
47
  test "with h2 header level" do
48
48
  input = "## This will be an h2"
49
49
  expected = "<h2>This will be an h2</h2>"
50
50
  assert Markdown.parse(input) == expected
51
51
  end
52
52
 
53
- @tag :skip
53
+ @tag :pending
54
54
  test "with h6 header level" do
55
55
  input = "###### This will be an h6"
56
56
  expected = "<h6>This will be an h6</h6>"
57
57
  assert Markdown.parse(input) == expected
58
58
  end
59
59
 
60
- @tag :skip
60
+ @tag :pending
61
61
  test "unordered lists" do
62
62
  input = "* Item 1\n* Item 2"
63
63
  expected = "<ul><li>Item 1</li><li>Item 2</li></ul>"
64
64
  assert Markdown.parse(input) == expected
65
65
  end
66
66
 
67
- @tag :skip
67
+ @tag :pending
68
68
  test "with a little bit of everything" do
69
69
  input = "# Header!\n* __Bold Item__\n* _Italic Item_"
70
70
  expected = "<h1>Header!</h1><ul><li><strong>Bold Item</strong></li><li><em>Italic Item</em></li></ul>"
@@ -3,462 +3,462 @@ if !System.get_env("EXERCISM_TEST_EXAMPLES") do
3
3
  end
4
4
 
5
5
  ExUnit.start
6
- ExUnit.configure trace: true
6
+ ExUnit.configure exclude: :pending, trace: true
7
7
 
8
8
  defmodule MeetupTest do
9
9
  use ExUnit.Case
10
10
 
11
- # @tag :skip
11
+ # @tag :pending
12
12
  test "monteenth of may 2013" do
13
13
  assert Meetup.meetup(2013, 5, :monday, :teenth) == {2013, 5, 13}
14
14
  end
15
15
 
16
- @tag :skip
16
+ @tag :pending
17
17
  test "monteenth of august 2013" do
18
18
  assert Meetup.meetup(2013, 8, :monday, :teenth) == {2013, 8, 19}
19
19
  end
20
20
 
21
- @tag :skip
21
+ @tag :pending
22
22
  test "monteenth of september 2013" do
23
23
  assert Meetup.meetup(2013, 9, :monday, :teenth) == {2013, 9, 16}
24
24
  end
25
25
 
26
- @tag :skip
26
+ @tag :pending
27
27
  test "tuesteenth of march 2013" do
28
28
  assert Meetup.meetup(2013, 3, :tuesday, :teenth) == {2013, 3, 19}
29
29
  end
30
30
 
31
- @tag :skip
31
+ @tag :pending
32
32
  test "tuesteenth of april 2013" do
33
33
  assert Meetup.meetup(2013, 4, :tuesday, :teenth) == {2013, 4, 16}
34
34
  end
35
35
 
36
- @tag :skip
36
+ @tag :pending
37
37
  test "tuesteenth of august 2013" do
38
38
  assert Meetup.meetup(2013, 8, :tuesday, :teenth) == {2013, 8, 13}
39
39
  end
40
40
 
41
- @tag :skip
41
+ @tag :pending
42
42
  test "wednesteenth of january 2013" do
43
43
  assert Meetup.meetup(2013, 1, :wednesday, :teenth) == {2013, 1, 16}
44
44
  end
45
45
 
46
- @tag :skip
46
+ @tag :pending
47
47
  test "wednesteenth of february 2013" do
48
48
  assert Meetup.meetup(2013, 2, :wednesday, :teenth) == {2013, 2, 13}
49
49
  end
50
50
 
51
- @tag :skip
51
+ @tag :pending
52
52
  test "wednesteenth of june 2013" do
53
53
  assert Meetup.meetup(2013, 6, :wednesday, :teenth) == {2013, 6, 19}
54
54
  end
55
55
 
56
- @tag :skip
56
+ @tag :pending
57
57
  test "thursteenth of may 2013" do
58
58
  assert Meetup.meetup(2013, 5, :thursday, :teenth) == {2013, 5, 16}
59
59
  end
60
60
 
61
- @tag :skip
61
+ @tag :pending
62
62
  test "thursteenth of june 2013" do
63
63
  assert Meetup.meetup(2013, 6, :thursday, :teenth) == {2013, 6, 13}
64
64
  end
65
65
 
66
- @tag :skip
66
+ @tag :pending
67
67
  test "thursteenth of september 2013" do
68
68
  assert Meetup.meetup(2013, 9, :thursday, :teenth) == {2013, 9, 19}
69
69
  end
70
70
 
71
- @tag :skip
71
+ @tag :pending
72
72
  test "friteenth of april 2013" do
73
73
  assert Meetup.meetup(2013, 4, :friday, :teenth) == {2013, 4, 19}
74
74
  end
75
75
 
76
- @tag :skip
76
+ @tag :pending
77
77
  test "friteenth of august 2013" do
78
78
  assert Meetup.meetup(2013, 8, :friday, :teenth) == {2013, 8, 16}
79
79
  end
80
80
 
81
- @tag :skip
81
+ @tag :pending
82
82
  test "friteenth of september 2013" do
83
83
  assert Meetup.meetup(2013, 9, :friday, :teenth) == {2013, 9, 13}
84
84
  end
85
85
 
86
- @tag :skip
86
+ @tag :pending
87
87
  test "saturteenth of february 2013" do
88
88
  assert Meetup.meetup(2013, 2, :saturday, :teenth) == {2013, 2, 16}
89
89
  end
90
90
 
91
- @tag :skip
91
+ @tag :pending
92
92
  test "saturteenth of april 2013" do
93
93
  assert Meetup.meetup(2013, 4, :saturday, :teenth) == {2013, 4, 13}
94
94
  end
95
95
 
96
- @tag :skip
96
+ @tag :pending
97
97
  test "saturteenth of october 2013" do
98
98
  assert Meetup.meetup(2013, 10, :saturday, :teenth) == {2013, 10, 19}
99
99
  end
100
100
 
101
- @tag :skip
101
+ @tag :pending
102
102
  test "sunteenth of may 2013" do
103
103
  assert Meetup.meetup(2013, 5, :sunday, :teenth) == {2013, 5, 19}
104
104
  end
105
105
 
106
- @tag :skip
106
+ @tag :pending
107
107
  test "sunteenth of june 2013" do
108
108
  assert Meetup.meetup(2013, 6, :sunday, :teenth) == {2013, 6, 16}
109
109
  end
110
110
 
111
- @tag :skip
111
+ @tag :pending
112
112
  test "sunteenth of october 2013" do
113
113
  assert Meetup.meetup(2013, 10, :sunday, :teenth) == {2013, 10, 13}
114
114
  end
115
115
 
116
- @tag :skip
116
+ @tag :pending
117
117
  test "first monday of march 2013" do
118
118
  assert Meetup.meetup(2013, 3, :monday, :first) == {2013, 3, 4}
119
119
  end
120
120
 
121
- @tag :skip
121
+ @tag :pending
122
122
  test "first monday of april 2013" do
123
123
  assert Meetup.meetup(2013, 4, :monday, :first) == {2013, 4, 1}
124
124
  end
125
125
 
126
- @tag :skip
126
+ @tag :pending
127
127
  test "first tuesday of may 2013" do
128
128
  assert Meetup.meetup(2013, 5, :tuesday, :first) == {2013, 5, 7}
129
129
  end
130
130
 
131
- @tag :skip
131
+ @tag :pending
132
132
  test "first tuesday of june 2013" do
133
133
  assert Meetup.meetup(2013, 6, :tuesday, :first) == {2013, 6, 4}
134
134
  end
135
135
 
136
- @tag :skip
136
+ @tag :pending
137
137
  test "first wednesday of july 2013" do
138
138
  assert Meetup.meetup(2013, 7, :wednesday, :first) == {2013, 7, 3}
139
139
  end
140
140
 
141
- @tag :skip
141
+ @tag :pending
142
142
  test "first wednesday of august 2013" do
143
143
  assert Meetup.meetup(2013, 8, :wednesday, :first) == {2013, 8, 7}
144
144
  end
145
145
 
146
- @tag :skip
146
+ @tag :pending
147
147
  test "first thursday of september 2013" do
148
148
  assert Meetup.meetup(2013, 9, :thursday, :first) == {2013, 9, 5}
149
149
  end
150
150
 
151
- @tag :skip
151
+ @tag :pending
152
152
  test "first thursday of october 2013" do
153
153
  assert Meetup.meetup(2013, 10, :thursday, :first) == {2013, 10, 3}
154
154
  end
155
155
 
156
- @tag :skip
156
+ @tag :pending
157
157
  test "first friday of november 2013" do
158
158
  assert Meetup.meetup(2013, 11, :friday, :first) == {2013, 11, 1}
159
159
  end
160
160
 
161
- @tag :skip
161
+ @tag :pending
162
162
  test "first friday of december 2013" do
163
163
  assert Meetup.meetup(2013, 12, :friday, :first) == {2013, 12, 6}
164
164
  end
165
165
 
166
- @tag :skip
166
+ @tag :pending
167
167
  test "first saturday of january 2013" do
168
168
  assert Meetup.meetup(2013, 1, :saturday, :first) == {2013, 1, 5}
169
169
  end
170
170
 
171
- @tag :skip
171
+ @tag :pending
172
172
  test "first saturday of february 2013" do
173
173
  assert Meetup.meetup(2013, 2, :saturday, :first) == {2013, 2, 2}
174
174
  end
175
175
 
176
- @tag :skip
176
+ @tag :pending
177
177
  test "first sunday of march 2013" do
178
178
  assert Meetup.meetup(2013, 3, :sunday, :first) == {2013, 3, 3}
179
179
  end
180
180
 
181
- @tag :skip
181
+ @tag :pending
182
182
  test "first sunday of april 2013" do
183
183
  assert Meetup.meetup(2013, 4, :sunday, :first) == {2013, 4, 7}
184
184
  end
185
185
 
186
- @tag :skip
186
+ @tag :pending
187
187
  test "second monday of march 2013" do
188
188
  assert Meetup.meetup(2013, 3, :monday, :second) == {2013, 3, 11}
189
189
  end
190
190
 
191
- @tag :skip
191
+ @tag :pending
192
192
  test "second monday of april 2013" do
193
193
  assert Meetup.meetup(2013, 4, :monday, :second) == {2013, 4, 8}
194
194
  end
195
195
 
196
- @tag :skip
196
+ @tag :pending
197
197
  test "second tuesday of may 2013" do
198
198
  assert Meetup.meetup(2013, 5, :tuesday, :second) == {2013, 5, 14}
199
199
  end
200
200
 
201
- @tag :skip
201
+ @tag :pending
202
202
  test "second tuesday of june 2013" do
203
203
  assert Meetup.meetup(2013, 6, :tuesday, :second) == {2013, 6, 11}
204
204
  end
205
205
 
206
- @tag :skip
206
+ @tag :pending
207
207
  test "second wednesday of july 2013" do
208
208
  assert Meetup.meetup(2013, 7, :wednesday, :second) == {2013, 7, 10}
209
209
  end
210
210
 
211
- @tag :skip
211
+ @tag :pending
212
212
  test "second wednesday of august 2013" do
213
213
  assert Meetup.meetup(2013, 8, :wednesday, :second) == {2013, 8, 14}
214
214
  end
215
215
 
216
- @tag :skip
216
+ @tag :pending
217
217
  test "second thursday of september 2013" do
218
218
  assert Meetup.meetup(2013, 9, :thursday, :second) == {2013, 9, 12}
219
219
  end
220
220
 
221
- @tag :skip
221
+ @tag :pending
222
222
  test "second thursday of october 2013" do
223
223
  assert Meetup.meetup(2013, 10, :thursday, :second) == {2013, 10, 10}
224
224
  end
225
225
 
226
- @tag :skip
226
+ @tag :pending
227
227
  test "second friday of november 2013" do
228
228
  assert Meetup.meetup(2013, 11, :friday, :second) == {2013, 11, 8}
229
229
  end
230
230
 
231
- @tag :skip
231
+ @tag :pending
232
232
  test "second friday of december 2013" do
233
233
  assert Meetup.meetup(2013, 12, :friday, :second) == {2013, 12, 13}
234
234
  end
235
235
 
236
- @tag :skip
236
+ @tag :pending
237
237
  test "second saturday of january 2013" do
238
238
  assert Meetup.meetup(2013, 1, :saturday, :second) == {2013, 1, 12}
239
239
  end
240
240
 
241
- @tag :skip
241
+ @tag :pending
242
242
  test "second saturday of february 2013" do
243
243
  assert Meetup.meetup(2013, 2, :saturday, :second) == {2013, 2, 9}
244
244
  end
245
245
 
246
- @tag :skip
246
+ @tag :pending
247
247
  test "second sunday of march 2013" do
248
248
  assert Meetup.meetup(2013, 3, :sunday, :second) == {2013, 3, 10}
249
249
  end
250
250
 
251
- @tag :skip
251
+ @tag :pending
252
252
  test "second sunday of april 2013" do
253
253
  assert Meetup.meetup(2013, 4, :sunday, :second) == {2013, 4, 14}
254
254
  end
255
255
 
256
- @tag :skip
256
+ @tag :pending
257
257
  test "third monday of march 2013" do
258
258
  assert Meetup.meetup(2013, 3, :monday, :third) == {2013, 3, 18}
259
259
  end
260
260
 
261
- @tag :skip
261
+ @tag :pending
262
262
  test "third monday of april 2013" do
263
263
  assert Meetup.meetup(2013, 4, :monday, :third) == {2013, 4, 15}
264
264
  end
265
265
 
266
- @tag :skip
266
+ @tag :pending
267
267
  test "third tuesday of may 2013" do
268
268
  assert Meetup.meetup(2013, 5, :tuesday, :third) == {2013, 5, 21}
269
269
  end
270
270
 
271
- @tag :skip
271
+ @tag :pending
272
272
  test "third tuesday of june 2013" do
273
273
  assert Meetup.meetup(2013, 6, :tuesday, :third) == {2013, 6, 18}
274
274
  end
275
275
 
276
- @tag :skip
276
+ @tag :pending
277
277
  test "third wednesday of july 2013" do
278
278
  assert Meetup.meetup(2013, 7, :wednesday, :third) == {2013, 7, 17}
279
279
  end
280
280
 
281
- @tag :skip
281
+ @tag :pending
282
282
  test "third wednesday of august 2013" do
283
283
  assert Meetup.meetup(2013, 8, :wednesday, :third) == {2013, 8, 21}
284
284
  end
285
285
 
286
- @tag :skip
286
+ @tag :pending
287
287
  test "third thursday of september 2013" do
288
288
  assert Meetup.meetup(2013, 9, :thursday, :third) == {2013, 9, 19}
289
289
  end
290
290
 
291
- @tag :skip
291
+ @tag :pending
292
292
  test "third thursday of october 2013" do
293
293
  assert Meetup.meetup(2013, 10, :thursday, :third) == {2013, 10, 17}
294
294
  end
295
295
 
296
- @tag :skip
296
+ @tag :pending
297
297
  test "third friday of november 2013" do
298
298
  assert Meetup.meetup(2013, 11, :friday, :third) == {2013, 11, 15}
299
299
  end
300
300
 
301
- @tag :skip
301
+ @tag :pending
302
302
  test "third friday of december 2013" do
303
303
  assert Meetup.meetup(2013, 12, :friday, :third) == {2013, 12, 20}
304
304
  end
305
305
 
306
- @tag :skip
306
+ @tag :pending
307
307
  test "third saturday of january 2013" do
308
308
  assert Meetup.meetup(2013, 1, :saturday, :third) == {2013, 1, 19}
309
309
  end
310
310
 
311
- @tag :skip
311
+ @tag :pending
312
312
  test "third saturday of february 2013" do
313
313
  assert Meetup.meetup(2013, 2, :saturday, :third) == {2013, 2, 16}
314
314
  end
315
315
 
316
- @tag :skip
316
+ @tag :pending
317
317
  test "third sunday of march 2013" do
318
318
  assert Meetup.meetup(2013, 3, :sunday, :third) == {2013, 3, 17}
319
319
  end
320
320
 
321
- @tag :skip
321
+ @tag :pending
322
322
  test "third sunday of april 2013" do
323
323
  assert Meetup.meetup(2013, 4, :sunday, :third) == {2013, 4, 21}
324
324
  end
325
325
 
326
- @tag :skip
326
+ @tag :pending
327
327
  test "fourth monday of march 2013" do
328
328
  assert Meetup.meetup(2013, 3, :monday, :fourth) == {2013, 3, 25}
329
329
  end
330
330
 
331
- @tag :skip
331
+ @tag :pending
332
332
  test "fourth monday of april 2013" do
333
333
  assert Meetup.meetup(2013, 4, :monday, :fourth) == {2013, 4, 22}
334
334
  end
335
335
 
336
- @tag :skip
336
+ @tag :pending
337
337
  test "fourth tuesday of may 2013" do
338
338
  assert Meetup.meetup(2013, 5, :tuesday, :fourth) == {2013, 5, 28}
339
339
  end
340
340
 
341
- @tag :skip
341
+ @tag :pending
342
342
  test "fourth tuesday of june 2013" do
343
343
  assert Meetup.meetup(2013, 6, :tuesday, :fourth) == {2013, 6, 25}
344
344
  end
345
345
 
346
- @tag :skip
346
+ @tag :pending
347
347
  test "fourth wednesday of july 2013" do
348
348
  assert Meetup.meetup(2013, 7, :wednesday, :fourth) == {2013, 7, 24}
349
349
  end
350
350
 
351
- @tag :skip
351
+ @tag :pending
352
352
  test "fourth wednesday of august 2013" do
353
353
  assert Meetup.meetup(2013, 8, :wednesday, :fourth) == {2013, 8, 28}
354
354
  end
355
355
 
356
- @tag :skip
356
+ @tag :pending
357
357
  test "fourth thursday of september 2013" do
358
358
  assert Meetup.meetup(2013, 9, :thursday, :fourth) == {2013, 9, 26}
359
359
  end
360
360
 
361
- @tag :skip
361
+ @tag :pending
362
362
  test "fourth thursday of october 2013" do
363
363
  assert Meetup.meetup(2013, 10, :thursday, :fourth) == {2013, 10, 24}
364
364
  end
365
365
 
366
- @tag :skip
366
+ @tag :pending
367
367
  test "fourth friday of november 2013" do
368
368
  assert Meetup.meetup(2013, 11, :friday, :fourth) == {2013, 11, 22}
369
369
  end
370
370
 
371
- @tag :skip
371
+ @tag :pending
372
372
  test "fourth friday of december 2013" do
373
373
  assert Meetup.meetup(2013, 12, :friday, :fourth) == {2013, 12, 27}
374
374
  end
375
375
 
376
- @tag :skip
376
+ @tag :pending
377
377
  test "fourth saturday of january 2013" do
378
378
  assert Meetup.meetup(2013, 1, :saturday, :fourth) == {2013, 1, 26}
379
379
  end
380
380
 
381
- @tag :skip
381
+ @tag :pending
382
382
  test "fourth saturday of february 2013" do
383
383
  assert Meetup.meetup(2013, 2, :saturday, :fourth) == {2013, 2, 23}
384
384
  end
385
385
 
386
- @tag :skip
386
+ @tag :pending
387
387
  test "fourth sunday of march 2013" do
388
388
  assert Meetup.meetup(2013, 3, :sunday, :fourth) == {2013, 3, 24}
389
389
  end
390
390
 
391
- @tag :skip
391
+ @tag :pending
392
392
  test "fourth sunday of april 2013" do
393
393
  assert Meetup.meetup(2013, 4, :sunday, :fourth) == {2013, 4, 28}
394
394
  end
395
395
 
396
- @tag :skip
396
+ @tag :pending
397
397
  test "last monday of march 2013" do
398
398
  assert Meetup.meetup(2013, 3, :monday, :last) == {2013, 3, 25}
399
399
  end
400
400
 
401
- @tag :skip
401
+ @tag :pending
402
402
  test "last monday of april 2013" do
403
403
  assert Meetup.meetup(2013, 4, :monday, :last) == {2013, 4, 29}
404
404
  end
405
405
 
406
- @tag :skip
406
+ @tag :pending
407
407
  test "last tuesday of may 2013" do
408
408
  assert Meetup.meetup(2013, 5, :tuesday, :last) == {2013, 5, 28}
409
409
  end
410
410
 
411
- @tag :skip
411
+ @tag :pending
412
412
  test "last tuesday of june 2013" do
413
413
  assert Meetup.meetup(2013, 6, :tuesday, :last) == {2013, 6, 25}
414
414
  end
415
415
 
416
- @tag :skip
416
+ @tag :pending
417
417
  test "last wednesday of july 2013" do
418
418
  assert Meetup.meetup(2013, 7, :wednesday, :last) == {2013, 7, 31}
419
419
  end
420
420
 
421
- @tag :skip
421
+ @tag :pending
422
422
  test "last wednesday of august 2013" do
423
423
  assert Meetup.meetup(2013, 8, :wednesday, :last) == {2013, 8, 28}
424
424
  end
425
425
 
426
- @tag :skip
426
+ @tag :pending
427
427
  test "last thursday of september 2013" do
428
428
  assert Meetup.meetup(2013, 9, :thursday, :last) == {2013, 9, 26}
429
429
  end
430
430
 
431
- @tag :skip
431
+ @tag :pending
432
432
  test "last thursday of october 2013" do
433
433
  assert Meetup.meetup(2013, 10, :thursday, :last) == {2013, 10, 31}
434
434
  end
435
435
 
436
- @tag :skip
436
+ @tag :pending
437
437
  test "last friday of november 2013" do
438
438
  assert Meetup.meetup(2013, 11, :friday, :last) == {2013, 11, 29}
439
439
  end
440
440
 
441
- @tag :skip
441
+ @tag :pending
442
442
  test "last friday of december 2013" do
443
443
  assert Meetup.meetup(2013, 12, :friday, :last) == {2013, 12, 27}
444
444
  end
445
445
 
446
- @tag :skip
446
+ @tag :pending
447
447
  test "last saturday of january 2013" do
448
448
  assert Meetup.meetup(2013, 1, :saturday, :last) == {2013, 1, 26}
449
449
  end
450
450
 
451
- @tag :skip
451
+ @tag :pending
452
452
  test "last saturday of february 2013" do
453
453
  assert Meetup.meetup(2013, 2, :saturday, :last) == {2013, 2, 23}
454
454
  end
455
455
 
456
- @tag :skip
456
+ @tag :pending
457
457
  test "last sunday of march 2013" do
458
458
  assert Meetup.meetup(2013, 3, :sunday, :last) == {2013, 3, 31}
459
459
  end
460
460
 
461
- @tag :skip
461
+ @tag :pending
462
462
  test "last sunday of april 2013" do
463
463
  assert Meetup.meetup(2013, 4, :sunday, :last) == {2013, 4, 28}
464
464
  end