trackler 2.2.1.151 → 2.2.1.152

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/problem-specifications/exercises/hamming/description.md +4 -3
  4. data/problem-specifications/exercises/isbn-verifier/canonical-data.json +9 -1
  5. data/tracks/clojure/exercises/bob/README.md +2 -0
  6. data/tracks/clojure/exercises/bob/src/example.clj +4 -0
  7. data/tracks/clojure/exercises/bob/test/bob_test.clj +1 -1
  8. data/tracks/clojure/exercises/say/README.md +2 -1
  9. data/tracks/csharp/exercises/acronym/AcronymTest.cs +3 -9
  10. data/tracks/csharp/exercises/all-your-base/AllYourBaseTest.cs +43 -43
  11. data/tracks/csharp/exercises/allergies/AllergiesTest.cs +1 -1
  12. data/tracks/csharp/exercises/alphametics/AlphameticsTest.cs +21 -1
  13. data/tracks/csharp/exercises/anagram/AnagramTest.cs +1 -35
  14. data/tracks/csharp/exercises/atbash-cipher/AtbashCipherTest.cs +1 -1
  15. data/tracks/csharp/exercises/beer-song/BeerSong.cs +1 -6
  16. data/tracks/csharp/exercises/beer-song/BeerSongTest.cs +20 -28
  17. data/tracks/csharp/exercises/beer-song/Example.cs +6 -6
  18. data/tracks/csharp/exercises/binary-search/BinarySearchTest.cs +1 -1
  19. data/tracks/csharp/exercises/bob/BobTest.cs +1 -1
  20. data/tracks/csharp/exercises/book-store/BookStoreTest.cs +1 -1
  21. data/tracks/csharp/exercises/bowling/BowlingTest.cs +47 -29
  22. data/tracks/csharp/exercises/bracket-push/BracketPushTest.cs +36 -29
  23. data/tracks/csharp/exercises/change/Change.cs +1 -1
  24. data/tracks/csharp/exercises/change/ChangeTest.cs +48 -21
  25. data/tracks/csharp/exercises/change/Example.cs +31 -18
  26. data/tracks/csharp/exercises/circular-buffer/CircularBuffer.cs +2 -2
  27. data/tracks/csharp/exercises/circular-buffer/CircularBufferTest.cs +88 -111
  28. data/tracks/csharp/exercises/circular-buffer/Example.cs +7 -7
  29. data/tracks/csharp/exercises/clock/ClockTest.cs +37 -37
  30. data/tracks/csharp/exercises/collatz-conjecture/CollatzConjectureTest.cs +1 -1
  31. data/tracks/csharp/exercises/complex-numbers/ComplexNumbersTest.cs +19 -10
  32. data/tracks/csharp/exercises/connect/ConnectTest.cs +1 -1
  33. data/tracks/csharp/exercises/crypto-square/CryptoSquareTest.cs +1 -1
  34. data/tracks/csharp/exercises/custom-set/.meta/hints.md +3 -3
  35. data/tracks/csharp/exercises/custom-set/CustomSet.cs +10 -49
  36. data/tracks/csharp/exercises/custom-set/CustomSetTest.cs +153 -157
  37. data/tracks/csharp/exercises/custom-set/Example.cs +26 -54
  38. data/tracks/csharp/exercises/difference-of-squares/DifferenceOfSquaresTest.cs +1 -1
  39. data/tracks/csharp/exercises/dominoes/DominoesTest.cs +25 -25
  40. data/tracks/csharp/exercises/etl/Etl.cs +1 -1
  41. data/tracks/csharp/exercises/etl/EtlTest.cs +4 -4
  42. data/tracks/csharp/exercises/etl/Example.cs +1 -1
  43. data/tracks/csharp/exercises/flatten-array/FlattenArrayTest.cs +13 -13
  44. data/tracks/csharp/exercises/food-chain/Example.cs +5 -0
  45. data/tracks/csharp/exercises/food-chain/FoodChain.cs +5 -0
  46. data/tracks/csharp/exercises/food-chain/FoodChainTest.cs +9 -9
  47. data/tracks/csharp/exercises/forth/Example.cs +28 -33
  48. data/tracks/csharp/exercises/forth/Forth.cs +1 -19
  49. data/tracks/csharp/exercises/forth/ForthTest.cs +215 -52
  50. data/tracks/csharp/exercises/gigasecond/GigasecondTest.cs +1 -1
  51. data/tracks/csharp/exercises/grains/GrainsTest.cs +1 -1
  52. data/tracks/csharp/exercises/grep/Example.cs +1 -1
  53. data/tracks/csharp/exercises/grep/Grep.cs +1 -1
  54. data/tracks/csharp/exercises/grep/GrepTest.cs +268 -237
  55. data/tracks/csharp/exercises/hamming/HammingTest.cs +1 -1
  56. data/tracks/csharp/exercises/hello-world/HelloWorldTest.cs +1 -1
  57. data/tracks/csharp/exercises/house/Example.cs +7 -2
  58. data/tracks/csharp/exercises/house/House.cs +5 -0
  59. data/tracks/csharp/exercises/house/HouseTest.cs +40 -223
  60. data/tracks/csharp/exercises/isbn-verifier/IsbnVerifierTest.cs +14 -2
  61. data/tracks/csharp/exercises/isogram/IsogramTest.cs +1 -1
  62. data/tracks/csharp/exercises/kindergarten-garden/KindergartenGardenTest.cs +1 -1
  63. data/tracks/csharp/exercises/largest-series-product/LargestSeriesProductTest.cs +1 -1
  64. data/tracks/csharp/exercises/leap/LeapTest.cs +1 -1
  65. data/tracks/csharp/exercises/luhn/LuhnTest.cs +1 -1
  66. data/tracks/csharp/exercises/markdown/MarkdownTest.cs +34 -27
  67. data/tracks/csharp/exercises/minesweeper/MinesweeperTest.cs +29 -34
  68. data/tracks/csharp/exercises/nth-prime/NthPrimeTest.cs +1 -1
  69. data/tracks/csharp/exercises/nucleotide-count/NucleotideCountTest.cs +1 -1
  70. data/tracks/csharp/exercises/ocr-numbers/OcrNumbersTest.cs +35 -35
  71. data/tracks/csharp/exercises/pangram/PangramTest.cs +1 -1
  72. data/tracks/csharp/exercises/pascals-triangle/PascalsTriangleTest.cs +1 -1
  73. data/tracks/csharp/exercises/perfect-numbers/PerfectNumbersTest.cs +1 -1
  74. data/tracks/csharp/exercises/phone-number/PhoneNumberTest.cs +17 -3
  75. data/tracks/csharp/exercises/pig-latin/PigLatinTest.cs +1 -1
  76. data/tracks/csharp/exercises/poker/PokerTest.cs +1 -1
  77. data/tracks/csharp/exercises/prime-factors/PrimeFactorsTest.cs +1 -1
  78. data/tracks/csharp/exercises/protein-translation/Example.cs +4 -4
  79. data/tracks/csharp/exercises/protein-translation/ProteinTranslation.cs +1 -1
  80. data/tracks/csharp/exercises/protein-translation/ProteinTranslationTest.cs +104 -45
  81. data/tracks/csharp/exercises/proverb/ProverbTest.cs +38 -6
  82. data/tracks/csharp/exercises/queen-attack/QueenAttackTest.cs +1 -1
  83. data/tracks/csharp/exercises/rail-fence-cipher/RailFenceCipherTest.cs +1 -1
  84. data/tracks/csharp/exercises/raindrops/RaindropsTest.cs +1 -1
  85. data/tracks/csharp/exercises/rectangles/RectanglesTest.cs +63 -21
  86. data/tracks/csharp/exercises/reverse-string/ReverseStringTest.cs +1 -1
  87. data/tracks/csharp/exercises/rna-transcription/RnaTranscriptionTest.cs +1 -1
  88. data/tracks/csharp/exercises/roman-numerals/RomanNumeralsTest.cs +7 -1
  89. data/tracks/csharp/exercises/rotational-cipher/RotationalCipherTest.cs +1 -1
  90. data/tracks/csharp/exercises/run-length-encoding/RunLengthEncodingTest.cs +1 -1
  91. data/tracks/csharp/exercises/saddle-points/SaddlePointsTest.cs +11 -11
  92. data/tracks/csharp/exercises/say/SayTest.cs +1 -1
  93. data/tracks/csharp/exercises/scale-generator/Example.cs +5 -0
  94. data/tracks/csharp/exercises/scale-generator/ScaleGenerator.cs +5 -0
  95. data/tracks/csharp/exercises/scale-generator/ScaleGeneratorTest.cs +56 -47
  96. data/tracks/csharp/exercises/scrabble-score/ScrabbleScoreTest.cs +1 -1
  97. data/tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs +1 -1
  98. data/tracks/csharp/exercises/sieve/SieveTest.cs +1 -1
  99. data/tracks/csharp/exercises/space-age/SpaceAgeTest.cs +1 -1
  100. data/tracks/csharp/exercises/spiral-matrix/SpiralMatrixTest.cs +28 -34
  101. data/tracks/csharp/exercises/sum-of-multiples/SumOfMultiplesTest.cs +1 -1
  102. data/tracks/csharp/exercises/tournament/Example.cs +15 -7
  103. data/tracks/csharp/exercises/tournament/TournamentTest.cs +97 -99
  104. data/tracks/csharp/exercises/transpose/TransposeTest.cs +50 -96
  105. data/tracks/csharp/exercises/triangle/TriangleTest.cs +1 -1
  106. data/tracks/csharp/exercises/twelve-days/TwelveDays.cs +1 -1
  107. data/tracks/csharp/exercises/two-bucket/TwoBucketTest.cs +1 -1
  108. data/tracks/csharp/exercises/two-fer/TwoFerTest.cs +1 -1
  109. data/tracks/csharp/exercises/variable-length-quantity/Example.cs +3 -3
  110. data/tracks/csharp/exercises/variable-length-quantity/VariableLengthQuantity.cs +2 -2
  111. data/tracks/csharp/exercises/variable-length-quantity/VariableLengthQuantityTest.cs +165 -40
  112. data/tracks/csharp/exercises/word-count/Example.cs +1 -1
  113. data/tracks/csharp/exercises/word-count/WordCount.cs +1 -1
  114. data/tracks/csharp/exercises/word-count/WordCountTest.cs +12 -12
  115. data/tracks/csharp/exercises/wordy/WordyTest.cs +1 -1
  116. data/tracks/csharp/exercises/yacht/Example.cs +2 -5
  117. data/tracks/csharp/exercises/yacht/YachtTest.cs +7 -1
  118. data/tracks/csharp/exercises/zebra-puzzle/Example.cs +4 -4
  119. data/tracks/csharp/exercises/zebra-puzzle/ZebraPuzzle.cs +2 -2
  120. data/tracks/csharp/exercises/zebra-puzzle/ZebraPuzzleTest.cs +7 -5
  121. data/tracks/csharp/generators/Exercises/AllYourBase.cs +1 -0
  122. data/tracks/csharp/generators/Exercises/Alphametics.cs +5 -2
  123. data/tracks/csharp/generators/Exercises/BeerSong.cs +3 -0
  124. data/tracks/csharp/generators/Exercises/BinarySearch.cs +1 -0
  125. data/tracks/csharp/generators/Exercises/BookStore.cs +2 -0
  126. data/tracks/csharp/generators/Exercises/Bowling.cs +20 -15
  127. data/tracks/csharp/generators/Exercises/BracketPush.cs +1 -1
  128. data/tracks/csharp/generators/Exercises/Change.cs +20 -0
  129. data/tracks/csharp/generators/Exercises/CircularBuffer.cs +74 -0
  130. data/tracks/csharp/generators/Exercises/Clock.cs +7 -8
  131. data/tracks/csharp/generators/Exercises/ComplexNumbers.cs +9 -16
  132. data/tracks/csharp/generators/Exercises/Connect.cs +6 -6
  133. data/tracks/csharp/generators/Exercises/CustomSet.cs +56 -0
  134. data/tracks/csharp/generators/Exercises/Dominoes.cs +2 -2
  135. data/tracks/csharp/generators/Exercises/Etl.cs +7 -35
  136. data/tracks/csharp/generators/Exercises/FlattenArray.cs +9 -13
  137. data/tracks/csharp/generators/Exercises/FoodChain.cs +5 -0
  138. data/tracks/csharp/generators/Exercises/Forth.cs +25 -0
  139. data/tracks/csharp/generators/Exercises/Gigasecond.cs +4 -4
  140. data/tracks/csharp/generators/Exercises/Grains.cs +1 -1
  141. data/tracks/csharp/generators/Exercises/Grep.cs +106 -0
  142. data/tracks/csharp/generators/Exercises/Hamming.cs +1 -1
  143. data/tracks/csharp/generators/Exercises/House.cs +5 -0
  144. data/tracks/csharp/generators/Exercises/KindergartenGarden.cs +3 -3
  145. data/tracks/csharp/generators/Exercises/Markdown.cs +25 -0
  146. data/tracks/csharp/generators/Exercises/Meetup.cs +6 -6
  147. data/tracks/csharp/generators/Exercises/Minesweeper.cs +14 -4
  148. data/tracks/csharp/generators/Exercises/OcrNumbers.cs +12 -3
  149. data/tracks/csharp/generators/Exercises/PascalsTriangle.cs +0 -7
  150. data/tracks/csharp/generators/Exercises/ProteinTranslation.cs +8 -0
  151. data/tracks/csharp/generators/Exercises/Proverb.cs +7 -5
  152. data/tracks/csharp/generators/Exercises/QueenAttack.cs +3 -3
  153. data/tracks/csharp/generators/Exercises/Rectangles.cs +17 -0
  154. data/tracks/csharp/generators/Exercises/RobotSimulator.cs +6 -6
  155. data/tracks/csharp/generators/Exercises/SaddlePoints.cs +2 -2
  156. data/tracks/csharp/generators/Exercises/Say.cs +1 -1
  157. data/tracks/csharp/generators/Exercises/ScaleGenerator.cs +15 -0
  158. data/tracks/csharp/generators/Exercises/SpiralMatrix.cs +45 -0
  159. data/tracks/csharp/generators/Exercises/Sublist.cs +4 -5
  160. data/tracks/csharp/generators/Exercises/SumOfMultiples.cs +10 -1
  161. data/tracks/csharp/generators/Exercises/Tournament.cs +11 -19
  162. data/tracks/csharp/generators/Exercises/Transpose.cs +2 -2
  163. data/tracks/csharp/generators/Exercises/Triangle.cs +1 -3
  164. data/tracks/csharp/generators/Exercises/TwelveDays.cs +3 -4
  165. data/tracks/csharp/generators/Exercises/TwoBucket.cs +5 -5
  166. data/tracks/csharp/generators/Exercises/TwoFer.cs +11 -2
  167. data/tracks/csharp/generators/Exercises/VariableLengthQuantity.cs +44 -0
  168. data/tracks/csharp/generators/Exercises/Yacht.cs +11 -10
  169. data/tracks/csharp/generators/Exercises/ZebraPuzzle.cs +19 -0
  170. data/tracks/csharp/generators/GeneratorExercise.cs +6 -6
  171. data/tracks/csharp/generators/Input/CanonicalData.cs +6 -9
  172. data/tracks/csharp/generators/Input/CanonicalDataCase.cs +13 -46
  173. data/tracks/csharp/generators/Input/CanonicalDataCaseParser.cs +170 -0
  174. data/tracks/csharp/generators/Input/CanonicalDataFile.cs +1 -2
  175. data/tracks/csharp/generators/Input/CanonicalDataParser.cs +16 -12
  176. data/tracks/csharp/generators/Input/ConfigFile.cs +0 -5
  177. data/tracks/csharp/generators/Input/ConvertHelper.cs +20 -0
  178. data/tracks/csharp/generators/Output/Templates/_TestClassDisposable.liquid +14 -0
  179. data/tracks/csharp/generators/Output/TestMethodBodyData.cs +11 -14
  180. data/tracks/csharp/generators/Output/ValueFormatter.cs +20 -7
  181. data/tracks/delphi/config.json +22 -0
  182. data/tracks/delphi/exercises/grade-school/GradeSchool.dpr +60 -0
  183. data/tracks/delphi/exercises/grade-school/README.md +62 -0
  184. data/tracks/delphi/exercises/grade-school/uGradeSchoolExample.pas +134 -0
  185. data/tracks/delphi/exercises/grade-school/uGradeSchoolTest.pas +150 -0
  186. data/tracks/delphi/exercises/hamming/README.md +4 -3
  187. data/tracks/delphi/exercises/proverb/Proverb.dpr +60 -0
  188. data/tracks/delphi/exercises/proverb/README.md +44 -0
  189. data/tracks/delphi/exercises/proverb/uProverbExample.pas +60 -0
  190. data/tracks/delphi/exercises/proverb/uProverbTests.pas +124 -0
  191. data/tracks/go/exercises/bracket-push/README.md +3 -2
  192. data/tracks/go/exercises/bracket-push/cases_test.go +7 -2
  193. data/tracks/go/exercises/isbn-verifier/cases_test.go +4 -3
  194. data/tracks/go/exercises/yacht/cases_test.go +8 -2
  195. data/tracks/java/exercises/armstrong-numbers/README.md +1 -1
  196. data/tracks/java/exercises/binary-search-tree/src/test/java/BinarySearchTreeTest.java +22 -22
  197. data/tracks/java/exercises/bracket-push/README.md +3 -2
  198. data/tracks/java/exercises/crypto-square/README.md +23 -19
  199. data/tracks/java/exercises/grade-school/src/test/java/SchoolTest.java +1 -1
  200. data/tracks/java/exercises/poker/.meta/{version.txt → version} +0 -0
  201. data/tracks/java/exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java +7 -7
  202. data/tracks/java/exercises/rail-fence-cipher/.meta/version +1 -0
  203. data/tracks/java/exercises/robot-simulator/src/test/java/RobotTest.java +45 -45
  204. data/tracks/nim/config.json +24 -0
  205. data/tracks/nim/exercises/armstrong-numbers/README.md +18 -0
  206. data/tracks/nim/exercises/armstrong-numbers/armstrong_number_test.nim +29 -0
  207. data/tracks/nim/exercises/armstrong-numbers/example.nim +11 -0
  208. data/tracks/nim/exercises/leap/leap_test.nim +12 -10
  209. data/tracks/nim/exercises/two-fer/README.md +19 -0
  210. data/tracks/nim/exercises/two-fer/example.nim +3 -0
  211. data/tracks/nim/exercises/two-fer/two_fer_test.nim +16 -0
  212. data/tracks/python/.travis.yml +0 -1
  213. data/tracks/python/README.md +1 -1
  214. data/tracks/python/config/exercise_readme.go.tmpl +1 -1
  215. data/tracks/python/docs/INSTALLATION.md +1 -1
  216. data/tracks/python/exercises/accumulate/README.md +1 -1
  217. data/tracks/python/exercises/acronym/README.md +1 -1
  218. data/tracks/python/exercises/all-your-base/README.md +1 -1
  219. data/tracks/python/exercises/allergies/README.md +1 -1
  220. data/tracks/python/exercises/alphametics/README.md +1 -1
  221. data/tracks/python/exercises/anagram/README.md +1 -1
  222. data/tracks/python/exercises/armstrong-numbers/README.md +2 -2
  223. data/tracks/python/exercises/atbash-cipher/README.md +1 -1
  224. data/tracks/python/exercises/bank-account/README.md +1 -1
  225. data/tracks/python/exercises/beer-song/README.md +1 -1
  226. data/tracks/python/exercises/binary-search-tree/README.md +1 -1
  227. data/tracks/python/exercises/binary-search/README.md +1 -1
  228. data/tracks/python/exercises/binary/README.md +1 -1
  229. data/tracks/python/exercises/bob/README.md +1 -1
  230. data/tracks/python/exercises/book-store/README.md +1 -1
  231. data/tracks/python/exercises/bowling/README.md +1 -1
  232. data/tracks/python/exercises/bracket-push/README.md +4 -3
  233. data/tracks/python/exercises/change/README.md +1 -1
  234. data/tracks/python/exercises/circular-buffer/README.md +1 -1
  235. data/tracks/python/exercises/clock/README.md +1 -1
  236. data/tracks/python/exercises/collatz-conjecture/README.md +1 -1
  237. data/tracks/python/exercises/complex-numbers/README.md +1 -1
  238. data/tracks/python/exercises/connect/README.md +1 -1
  239. data/tracks/python/exercises/crypto-square/README.md +1 -1
  240. data/tracks/python/exercises/custom-set/README.md +1 -1
  241. data/tracks/python/exercises/diamond/README.md +1 -1
  242. data/tracks/python/exercises/difference-of-squares/README.md +1 -1
  243. data/tracks/python/exercises/diffie-hellman/README.md +1 -1
  244. data/tracks/python/exercises/dominoes/README.md +1 -1
  245. data/tracks/python/exercises/dot-dsl/README.md +1 -1
  246. data/tracks/python/exercises/error-handling/README.md +1 -1
  247. data/tracks/python/exercises/etl/README.md +1 -1
  248. data/tracks/python/exercises/flatten-array/README.md +1 -1
  249. data/tracks/python/exercises/food-chain/README.md +1 -1
  250. data/tracks/python/exercises/forth/README.md +1 -1
  251. data/tracks/python/exercises/gigasecond/README.md +1 -1
  252. data/tracks/python/exercises/go-counting/README.md +1 -1
  253. data/tracks/python/exercises/grade-school/README.md +1 -1
  254. data/tracks/python/exercises/grains/README.md +1 -1
  255. data/tracks/python/exercises/grep/README.md +1 -1
  256. data/tracks/python/exercises/hamming/README.md +1 -1
  257. data/tracks/python/exercises/hello-world/README.md +1 -1
  258. data/tracks/python/exercises/hexadecimal/README.md +1 -1
  259. data/tracks/python/exercises/house/README.md +1 -1
  260. data/tracks/python/exercises/isbn-verifier/README.md +1 -1
  261. data/tracks/python/exercises/isogram/README.md +1 -1
  262. data/tracks/python/exercises/kindergarten-garden/README.md +1 -1
  263. data/tracks/python/exercises/largest-series-product/README.md +1 -1
  264. data/tracks/python/exercises/leap/README.md +1 -1
  265. data/tracks/python/exercises/linked-list/README.md +1 -1
  266. data/tracks/python/exercises/list-ops/README.md +1 -1
  267. data/tracks/python/exercises/luhn/README.md +1 -1
  268. data/tracks/python/exercises/markdown/README.md +1 -1
  269. data/tracks/python/exercises/matrix/README.md +1 -1
  270. data/tracks/python/exercises/meetup/README.md +1 -1
  271. data/tracks/python/exercises/minesweeper/README.md +1 -1
  272. data/tracks/python/exercises/nth-prime/README.md +1 -1
  273. data/tracks/python/exercises/nucleotide-count/README.md +1 -1
  274. data/tracks/python/exercises/ocr-numbers/README.md +1 -1
  275. data/tracks/python/exercises/octal/README.md +1 -1
  276. data/tracks/python/exercises/palindrome-products/README.md +1 -1
  277. data/tracks/python/exercises/pangram/README.md +1 -1
  278. data/tracks/python/exercises/parallel-letter-frequency/README.md +1 -1
  279. data/tracks/python/exercises/pascals-triangle/README.md +1 -1
  280. data/tracks/python/exercises/perfect-numbers/README.md +1 -1
  281. data/tracks/python/exercises/phone-number/README.md +1 -1
  282. data/tracks/python/exercises/pig-latin/README.md +1 -1
  283. data/tracks/python/exercises/point-mutations/README.md +1 -1
  284. data/tracks/python/exercises/poker/README.md +1 -1
  285. data/tracks/python/exercises/pov/README.md +1 -1
  286. data/tracks/python/exercises/prime-factors/README.md +1 -1
  287. data/tracks/python/exercises/protein-translation/README.md +1 -1
  288. data/tracks/python/exercises/proverb/README.md +1 -1
  289. data/tracks/python/exercises/pythagorean-triplet/README.md +1 -1
  290. data/tracks/python/exercises/queen-attack/README.md +1 -1
  291. data/tracks/python/exercises/rail-fence-cipher/README.md +1 -1
  292. data/tracks/python/exercises/raindrops/README.md +1 -1
  293. data/tracks/python/exercises/rational-numbers/README.md +1 -1
  294. data/tracks/python/exercises/react/README.md +1 -1
  295. data/tracks/python/exercises/rectangles/README.md +1 -1
  296. data/tracks/python/exercises/reverse-string/README.md +1 -1
  297. data/tracks/python/exercises/rna-transcription/README.md +1 -1
  298. data/tracks/python/exercises/robot-name/README.md +1 -1
  299. data/tracks/python/exercises/robot-simulator/README.md +1 -1
  300. data/tracks/python/exercises/roman-numerals/README.md +1 -1
  301. data/tracks/python/exercises/rotational-cipher/README.md +1 -1
  302. data/tracks/python/exercises/run-length-encoding/README.md +1 -1
  303. data/tracks/python/exercises/saddle-points/README.md +1 -1
  304. data/tracks/python/exercises/say/README.md +1 -1
  305. data/tracks/python/exercises/scale-generator/README.md +1 -1
  306. data/tracks/python/exercises/scrabble-score/README.md +1 -1
  307. data/tracks/python/exercises/secret-handshake/README.md +1 -1
  308. data/tracks/python/exercises/series/README.md +1 -1
  309. data/tracks/python/exercises/sgf-parsing/README.md +1 -1
  310. data/tracks/python/exercises/sieve/README.md +1 -1
  311. data/tracks/python/exercises/simple-cipher/README.md +1 -1
  312. data/tracks/python/exercises/simple-linked-list/README.md +1 -1
  313. data/tracks/python/exercises/space-age/README.md +1 -1
  314. data/tracks/python/exercises/spiral-matrix/README.md +1 -1
  315. data/tracks/python/exercises/strain/README.md +1 -1
  316. data/tracks/python/exercises/sublist/README.md +1 -1
  317. data/tracks/python/exercises/sum-of-multiples/README.md +1 -1
  318. data/tracks/python/exercises/tournament/README.md +1 -1
  319. data/tracks/python/exercises/transpose/README.md +1 -1
  320. data/tracks/python/exercises/tree-building/README.md +1 -1
  321. data/tracks/python/exercises/triangle/README.md +1 -1
  322. data/tracks/python/exercises/trinary/README.md +1 -1
  323. data/tracks/python/exercises/twelve-days/README.md +1 -1
  324. data/tracks/python/exercises/two-bucket/README.md +1 -1
  325. data/tracks/python/exercises/two-fer/README.md +1 -1
  326. data/tracks/python/exercises/variable-length-quantity/README.md +1 -1
  327. data/tracks/python/exercises/word-count/README.md +1 -1
  328. data/tracks/python/exercises/word-search/README.md +1 -1
  329. data/tracks/python/exercises/wordy/README.md +1 -1
  330. data/tracks/python/exercises/yacht/README.md +1 -1
  331. data/tracks/python/exercises/zebra-puzzle/README.md +1 -1
  332. data/tracks/python/exercises/zipper/README.md +1 -1
  333. data/tracks/python/requirements-travis.txt +1 -1
  334. data/tracks/swift/exercises/scale-generator/Tests/ScaleGeneratorTests/ScaleGeneratorTests.swift +1 -1
  335. metadata +32 -8
  336. data/tracks/csharp/generators/Input/CanonicalDataCaseJson.cs +0 -73
  337. data/tracks/csharp/generators/Input/CanonicalDataCaseJsonConverter.cs +0 -49
  338. data/tracks/csharp/generators/Input/CanonicalDataCasesJson.cs +0 -58
  339. data/tracks/csharp/generators/Input/CanonicalDataCasesJsonConverter.cs +0 -17
  340. data/tracks/java/exercises/go-counting/src/main/java/.keep +0 -0
@@ -229,6 +229,30 @@
229
229
  "topics": [
230
230
  "strings"
231
231
  ]
232
+ },
233
+ {
234
+ "uuid": "b7ad6238-bb8e-4629-8a6f-5eddb8568d87",
235
+ "slug": "two-fer",
236
+ "core": true,
237
+ "unlocked_by": null,
238
+ "difficulty": 1,
239
+ "topics": [
240
+ "conditionals",
241
+ "optional_values",
242
+ "text_formatting"
243
+ ]
244
+ },
245
+ {
246
+ "uuid": "83f70468-941b-4d7d-9df7-6f8b6a54f6bc",
247
+ "slug": "armstrong-numbers",
248
+ "core": false,
249
+ "unlocked_by": null,
250
+ "difficulty": 1,
251
+ "topics": [
252
+ "mathematics",
253
+ "algorithms",
254
+ "loops"
255
+ ]
232
256
  }
233
257
  ]
234
258
  }
@@ -0,0 +1,18 @@
1
+ # Armstrong Numbers
2
+
3
+ An [Armstrong number](https://en.wikipedia.org/wiki/Narcissistic_number) is a number that is the sum of its own digits each raised to the power of the number of digits.
4
+
5
+ For example:
6
+
7
+ - 9 is an Armstrong number, because `9 = 9^1 = 9`
8
+ - 10 is *not* an Armstrong number, because `10 != 1^2 + 0^2 = 2`
9
+ - 153 is an Armstrong number, because: `153 = 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153`
10
+ - 154 is *not* an Armstrong number, because: `154 != 1^3 + 5^3 + 4^3 = 1 + 125 + 64 = 190`
11
+
12
+ Write some code to determine whether a number is an Armstrong number.
13
+ ## Source
14
+
15
+ Wikipedia [https://en.wikipedia.org/wiki/Narcissistic_number](https://en.wikipedia.org/wiki/Narcissistic_number)
16
+
17
+ ## Submitting Incomplete Solutions
18
+ It's possible to submit an incomplete solution so you can see how others have completed the exercise.
@@ -0,0 +1,29 @@
1
+ import unittest
2
+
3
+ import armstrong_numbers
4
+
5
+ suite "Armstrong Numbers":
6
+
7
+ test "Single digit numbers are Armstrong numbers":
8
+ check 5.isArmstrongNumber == true
9
+
10
+ test "There are no 2 digit Armstrong numbers":
11
+ check 10.isArmstrongNumber == false
12
+
13
+ test "Three digit number that is an Armstrong number":
14
+ check 153.isArmstrongNumber == true
15
+
16
+ test "Three digit number that is not an Armstrong number":
17
+ check 100.isArmstrongNumber == false
18
+
19
+ test "Four digit number that is an Armstrong number":
20
+ check 9474.isArmstrongNumber == true
21
+
22
+ test "Four digit number that is not an Armstrong number":
23
+ check 9475.isArmstrongNumber == false
24
+
25
+ test "Seven digit number that is an Armstrong number":
26
+ check 9926315.isArmstrongNumber == true
27
+
28
+ test "Four digit number that is an Armstrong number":
29
+ check 9926314.isArmstrongNumber == false
@@ -0,0 +1,11 @@
1
+ import
2
+ math, strutils
3
+
4
+ proc isArmstrongNumber*(input: int): bool =
5
+ let stringNumber = $input
6
+ let numberLength = len(stringNumber).toFloat
7
+
8
+ var sum = 0
9
+ for i in stringNumber:
10
+ sum = sum + pow(parseFloat($i), numberLength).toInt
11
+ sum == input
@@ -1,14 +1,16 @@
1
1
  import unittest
2
2
  from leap import isLeapYear
3
3
 
4
- test "vanilla leap year":
5
- check isLeapYear(1996)
4
+ suite "Leap":
6
5
 
7
- test "normal year":
8
- check (not isLeapYear(1997))
9
-
10
- test "century":
11
- check (not isLeapYear(1900))
12
-
13
- test "exceptional century":
14
- check isLeapYear(2000)
6
+ test "year not divisible by 4: common year":
7
+ check isLeapYear(2015) == false
8
+
9
+ test "year divisible by 4, not divisible by 100: leap year":
10
+ check isLeapYear(1996) == true
11
+
12
+ test "year divisible by 100, not divisible by 400: common year":
13
+ check isLeapYear(2100) == false
14
+
15
+ test "year divisible by 400: leap year":
16
+ check isLeapYear(2000) == true
@@ -0,0 +1,19 @@
1
+ # Two Fer
2
+
3
+ `Two-fer` or `2-fer` is short for two for one. One for you and one for me.
4
+
5
+ ```text
6
+ "One for X, one for me."
7
+ ```
8
+
9
+ When X is a name or "you".
10
+
11
+ If the given name is "Alice", the result should be "One for Alice, one for me."
12
+ If no name is given, the result should be "One for you, one for me."
13
+
14
+ ## Source
15
+
16
+ [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer)
17
+
18
+ ## Submitting Incomplete Solutions
19
+ It's possible to submit an incomplete solution so you can see how others have completed the exercise.
@@ -0,0 +1,3 @@
1
+
2
+ proc twoFer*(name="you"): string =
3
+ "One for " & name & ", one for me."
@@ -0,0 +1,16 @@
1
+ import unittest
2
+
3
+ import two_fer
4
+
5
+ suite "Two Fer":
6
+
7
+ test "no name given":
8
+ check twoFer() == "One for you, one for me."
9
+
10
+ test "a name given":
11
+ let name = "Alice"
12
+ check twoFer(name) == "One for Alice, one for me."
13
+
14
+ test "another name given":
15
+ let name = "Bob"
16
+ check twoFer(name) == "One for Bob, one for me."
@@ -4,7 +4,6 @@ language: python
4
4
 
5
5
  python:
6
6
  - 2.7
7
- - 3.3
8
7
  - 3.4
9
8
  - 3.5
10
9
  - 3.6
@@ -29,7 +29,7 @@ A list of missing exercise can be found here: http://exercism.io/languages/pytho
29
29
 
30
30
  ### Testing
31
31
 
32
- All exercises must be compatible with Python versions 2.7 and 3.3 upwards.
32
+ All exercises must be compatible with Python versions 2.7 and 3.4 upwards.
33
33
 
34
34
  To test a single exercise (e.g., with Python 2.7):
35
35
  ```
@@ -23,7 +23,7 @@ raise Exception("Meaningful message indicating the source of the error")
23
23
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
24
24
 
25
25
  - Python 2.7: `py.test {{ .Spec.SnakeCaseName }}_test.py`
26
- - Python 3.3+: `pytest {{ .Spec.SnakeCaseName }}_test.py`
26
+ - Python 3.4+: `pytest {{ .Spec.SnakeCaseName }}_test.py`
27
27
 
28
28
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
29
29
  `python -m pytest {{ .Spec.SnakeCaseName }}_test.py`
@@ -2,4 +2,4 @@
2
2
 
3
3
  If Python isn't already available on your system follow the instructions at [the Hitchhiker's Guide to Python](http://docs.python-guide.org/en/latest/starting/installation/) to install Python on your computer.
4
4
 
5
- Exercism currently supports Python2.7 and Python 3.3+.
5
+ Exercism currently supports Python2.7 and Python 3.4+.
@@ -44,7 +44,7 @@ raise Exception("Meaningful message indicating the source of the error")
44
44
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
45
45
 
46
46
  - Python 2.7: `py.test accumulate_test.py`
47
- - Python 3.3+: `pytest accumulate_test.py`
47
+ - Python 3.4+: `pytest accumulate_test.py`
48
48
 
49
49
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
50
50
  `python -m pytest accumulate_test.py`
@@ -26,7 +26,7 @@ raise Exception("Meaningful message indicating the source of the error")
26
26
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
27
27
 
28
28
  - Python 2.7: `py.test acronym_test.py`
29
- - Python 3.3+: `pytest acronym_test.py`
29
+ - Python 3.4+: `pytest acronym_test.py`
30
30
 
31
31
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
32
32
  `python -m pytest acronym_test.py`
@@ -50,7 +50,7 @@ raise Exception("Meaningful message indicating the source of the error")
50
50
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
51
51
 
52
52
  - Python 2.7: `py.test all_your_base_test.py`
53
- - Python 3.3+: `pytest all_your_base_test.py`
53
+ - Python 3.4+: `pytest all_your_base_test.py`
54
54
 
55
55
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
56
56
  `python -m pytest all_your_base_test.py`
@@ -48,7 +48,7 @@ raise Exception("Meaningful message indicating the source of the error")
48
48
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
49
49
 
50
50
  - Python 2.7: `py.test allergies_test.py`
51
- - Python 3.3+: `pytest allergies_test.py`
51
+ - Python 3.4+: `pytest allergies_test.py`
52
52
 
53
53
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
54
54
  `python -m pytest allergies_test.py`
@@ -50,7 +50,7 @@ raise Exception("Meaningful message indicating the source of the error")
50
50
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
51
51
 
52
52
  - Python 2.7: `py.test alphametics_test.py`
53
- - Python 3.3+: `pytest alphametics_test.py`
53
+ - Python 3.4+: `pytest alphametics_test.py`
54
54
 
55
55
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
56
56
  `python -m pytest alphametics_test.py`
@@ -25,7 +25,7 @@ raise Exception("Meaningful message indicating the source of the error")
25
25
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
26
26
 
27
27
  - Python 2.7: `py.test anagram_test.py`
28
- - Python 3.3+: `pytest anagram_test.py`
28
+ - Python 3.4+: `pytest anagram_test.py`
29
29
 
30
30
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
31
31
  `python -m pytest anagram_test.py`
@@ -5,7 +5,7 @@ An [Armstrong number](https://en.wikipedia.org/wiki/Narcissistic_number) is a nu
5
5
  For example:
6
6
 
7
7
  - 9 is an Armstrong number, because `9 = 9^1 = 9`
8
- - 10 is *not* an Armstrong number, because `10 != 1^2 + 0^2 = 2`
8
+ - 10 is *not* an Armstrong number, because `10 != 1^2 + 0^2 = 1`
9
9
  - 153 is an Armstrong number, because: `153 = 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153`
10
10
  - 154 is *not* an Armstrong number, because: `154 != 1^3 + 5^3 + 4^3 = 1 + 125 + 64 = 190`
11
11
 
@@ -30,7 +30,7 @@ raise Exception("Meaningful message indicating the source of the error")
30
30
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
31
31
 
32
32
  - Python 2.7: `py.test armstrong_numbers_test.py`
33
- - Python 3.3+: `pytest armstrong_numbers_test.py`
33
+ - Python 3.4+: `pytest armstrong_numbers_test.py`
34
34
 
35
35
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
36
36
  `python -m pytest armstrong_numbers_test.py`
@@ -47,7 +47,7 @@ raise Exception("Meaningful message indicating the source of the error")
47
47
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
48
48
 
49
49
  - Python 2.7: `py.test atbash_cipher_test.py`
50
- - Python 3.3+: `pytest atbash_cipher_test.py`
50
+ - Python 3.4+: `pytest atbash_cipher_test.py`
51
51
 
52
52
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
53
53
  `python -m pytest atbash_cipher_test.py`
@@ -45,7 +45,7 @@ raise Exception("Meaningful message indicating the source of the error")
45
45
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
46
46
 
47
47
  - Python 2.7: `py.test bank_account_test.py`
48
- - Python 3.3+: `pytest bank_account_test.py`
48
+ - Python 3.4+: `pytest bank_account_test.py`
49
49
 
50
50
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
51
51
  `python -m pytest bank_account_test.py`
@@ -339,7 +339,7 @@ raise Exception("Meaningful message indicating the source of the error")
339
339
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
340
340
 
341
341
  - Python 2.7: `py.test beer_song_test.py`
342
- - Python 3.3+: `pytest beer_song_test.py`
342
+ - Python 3.4+: `pytest beer_song_test.py`
343
343
 
344
344
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
345
345
  `python -m pytest beer_song_test.py`
@@ -72,7 +72,7 @@ raise Exception("Meaningful message indicating the source of the error")
72
72
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
73
73
 
74
74
  - Python 2.7: `py.test binary_search_tree_test.py`
75
- - Python 3.3+: `pytest binary_search_tree_test.py`
75
+ - Python 3.4+: `pytest binary_search_tree_test.py`
76
76
 
77
77
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
78
78
  `python -m pytest binary_search_tree_test.py`
@@ -53,7 +53,7 @@ raise Exception("Meaningful message indicating the source of the error")
53
53
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
54
54
 
55
55
  - Python 2.7: `py.test binary_search_test.py`
56
- - Python 3.3+: `pytest binary_search_test.py`
56
+ - Python 3.4+: `pytest binary_search_test.py`
57
57
 
58
58
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
59
59
  `python -m pytest binary_search_test.py`
@@ -49,7 +49,7 @@ raise Exception("Meaningful message indicating the source of the error")
49
49
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
50
50
 
51
51
  - Python 2.7: `py.test binary_test.py`
52
- - Python 3.3+: `pytest binary_test.py`
52
+ - Python 3.4+: `pytest binary_test.py`
53
53
 
54
54
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
55
55
  `python -m pytest binary_test.py`
@@ -32,7 +32,7 @@ raise Exception("Meaningful message indicating the source of the error")
32
32
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
33
33
 
34
34
  - Python 2.7: `py.test bob_test.py`
35
- - Python 3.3+: `pytest bob_test.py`
35
+ - Python 3.4+: `pytest bob_test.py`
36
36
 
37
37
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
38
38
  `python -m pytest bob_test.py`
@@ -86,7 +86,7 @@ raise Exception("Meaningful message indicating the source of the error")
86
86
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
87
87
 
88
88
  - Python 2.7: `py.test book_store_test.py`
89
- - Python 3.3+: `pytest book_store_test.py`
89
+ - Python 3.4+: `pytest book_store_test.py`
90
90
 
91
91
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
92
92
  `python -m pytest book_store_test.py`
@@ -79,7 +79,7 @@ raise Exception("Meaningful message indicating the source of the error")
79
79
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
80
80
 
81
81
  - Python 2.7: `py.test bowling_test.py`
82
- - Python 3.3+: `pytest bowling_test.py`
82
+ - Python 3.4+: `pytest bowling_test.py`
83
83
 
84
84
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
85
85
  `python -m pytest bowling_test.py`
@@ -1,7 +1,8 @@
1
1
  # Bracket Push
2
2
 
3
- Given a string containing brackets `[]`, braces `{}` and parentheses `()`,
4
- verify that all the pairs are matched and nested correctly.
3
+ Given a string containing brackets `[]`, braces `{}`, parentheses `()`,
4
+ or any combination thereof, verify that any and all pairs are matched
5
+ and nested correctly.
5
6
 
6
7
  ## Exception messages
7
8
 
@@ -22,7 +23,7 @@ raise Exception("Meaningful message indicating the source of the error")
22
23
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
23
24
 
24
25
  - Python 2.7: `py.test bracket_push_test.py`
25
- - Python 3.3+: `pytest bracket_push_test.py`
26
+ - Python 3.4+: `pytest bracket_push_test.py`
26
27
 
27
28
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
28
29
  `python -m pytest bracket_push_test.py`
@@ -35,7 +35,7 @@ raise Exception("Meaningful message indicating the source of the error")
35
35
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
36
36
 
37
37
  - Python 2.7: `py.test change_test.py`
38
- - Python 3.3+: `pytest change_test.py`
38
+ - Python 3.4+: `pytest change_test.py`
39
39
 
40
40
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
41
41
  `python -m pytest change_test.py`
@@ -69,7 +69,7 @@ raise Exception("Meaningful message indicating the source of the error")
69
69
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
70
70
 
71
71
  - Python 2.7: `py.test circular_buffer_test.py`
72
- - Python 3.3+: `pytest circular_buffer_test.py`
72
+ - Python 3.4+: `pytest circular_buffer_test.py`
73
73
 
74
74
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
75
75
  `python -m pytest circular_buffer_test.py`
@@ -25,7 +25,7 @@ raise Exception("Meaningful message indicating the source of the error")
25
25
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
26
26
 
27
27
  - Python 2.7: `py.test clock_test.py`
28
- - Python 3.3+: `pytest clock_test.py`
28
+ - Python 3.4+: `pytest clock_test.py`
29
29
 
30
30
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
31
31
  `python -m pytest clock_test.py`
@@ -50,7 +50,7 @@ raise Exception("Meaningful message indicating the source of the error")
50
50
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
51
51
 
52
52
  - Python 2.7: `py.test collatz_conjecture_test.py`
53
- - Python 3.3+: `pytest collatz_conjecture_test.py`
53
+ - Python 3.4+: `pytest collatz_conjecture_test.py`
54
54
 
55
55
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
56
56
  `python -m pytest collatz_conjecture_test.py`
@@ -55,7 +55,7 @@ raise Exception("Meaningful message indicating the source of the error")
55
55
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
56
56
 
57
57
  - Python 2.7: `py.test complex_numbers_test.py`
58
- - Python 3.3+: `pytest complex_numbers_test.py`
58
+ - Python 3.4+: `pytest complex_numbers_test.py`
59
59
 
60
60
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
61
61
  `python -m pytest complex_numbers_test.py`
@@ -49,7 +49,7 @@ raise Exception("Meaningful message indicating the source of the error")
49
49
  To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
50
50
 
51
51
  - Python 2.7: `py.test connect_test.py`
52
- - Python 3.3+: `pytest connect_test.py`
52
+ - Python 3.4+: `pytest connect_test.py`
53
53
 
54
54
  Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
55
55
  `python -m pytest connect_test.py`