mix yuki.test (YukiHelper v0.1.0) View Source

Tests your source code for the specified problem.

mix yuki.test NO [--problem-id]

--problem-id option specifies that NO is the problem ID, not the problem number.

This command has the following steps.

  1. downloads testcases for the specified problem if nessesary.
  2. finds the source code lib/path/to/10.ex
  3. finds the compiler elixirc
  4. executes the command elixirc lib/path/to/10.ex
  5. executes the command elixir -e P10.main
  6. prints result