Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 712 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 712 Bytes

The Bowling Kata in Clojure

More information about the Kata: Robert "Uncle Bob" Martin

Structure

Standard use of Leinengen

Test

lein test

Dependencies

  • None (apart from the standard JDK, Clojure and Leinengen)

Assumptions

  • An assertion will fail and display an appropriate error message in those cases:
    • The input file does not respect the game information format
    • Zero or more than one parameter is given to the command
  • The filename provided exist and is readable

Execution

lein run <filename> with the path to a game file

The resources folder contains one example: lein run resources/input-game-test.txt