- Install leiningen
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Make changes
- Run tests (
make test
). - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Check if Request passed Travis-Ci
You have to write the description of the problem and the correct implementation. See examples in src/battle_asserts/issues
. Corresponding tests are in test/battle_asserts/issues
.
A problem file includes:
level
— difficulty of the problem; possible values areelementary
,easy
,medium
,hard
.description
— detailed description of the problem.test-data
— data in a specified format which will be used to test solutions. The first element in this list will be displayed as an example to players, so it should clarify and illustrate the problem as much as possible. Do not choose a trivial case for this example.arguments-generator
— arguments generator for thesolution
function; generated arguments will be used to test players' solutions.solution
— implemented correct solution.
Test file includes a call to a test generator (the same for all tests).