16 lines
775 B
Markdown
16 lines
775 B
Markdown
# Lua Exercises
|
|
|
|
This repo contains some Lua exercises along with automated tests for
|
|
their solutions. Each file contains a description of the problem and
|
|
an area for your solution as well as the tests. Feel free to define
|
|
as many functions and constants as you need in the solution area, but
|
|
do not modify the tests. It's recommended that you roughly stick to
|
|
the defined order of the exercises, but feel free to deviate if you
|
|
wish.
|
|
|
|
To run the tests and check your solution for a given exercise, simply
|
|
run `lua <the-file>`. For example, if you were working on the
|
|
anagrams exercise, you would run `lua 08_anagrams.lua`. For each
|
|
exercise, the tests should run in well under a tenth of a second; if
|
|
it takes longer than this you should try to speed up your solution.
|