Closed mazz closed 5 years ago
Sorry about that, I haven't gotten around to writing any tests for the library (bad practice I know). I'll get around to fixing this sometime tomorrow.
No problem, I was trying to get it running and I thought the test would be a way and then I encountered the issue.
How do I run OneMax.run() ?
~/src/genex (master ✔) ᐅ iex -S mix
Erlang/OTP 22 [erts-10.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
Interactive Elixir (1.9.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> OneMax.run()
** (UndefinedFunctionError) function OneMax.run/0 is undefined (module OneMax is not available)
OneMax.run()
If you have the whole project downloaded:
mix run examples/one_max.exs
Added a few basic tests, all passing.
elixir 1.9.0