aboutsummaryrefslogtreecommitdiff
path: root/challenge-079/tyler-wardhaugh/lua/README.md
blob: 91e2f8575d8edf3e1e8b2ba2bda3a317f9ea6a89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# The Weekly Challenge

The Weekly Challenge - #078 - Tyler Wardhaugh

## Usage

Run Task 1:

    $ lua -e 'require"ch-1".run({9, 10, 7, 5, 6, 1})'

Run Task 2:

    $ lua -e 'require"ch-2".run({10, 20, 30, 40, 50}, {3, 4})'

Run the project's tests (which are samples from the task descriptions):

    $ lua test.lua

## Requirements:
*   [Lua](https://www.lua.org/) 5.3
*   [LuaRocks](https://luarocks.org/)
*   [busted](https://olivinelabs.com/busted/) (unit testing framework)