Gigasecond in Elixir
Calculate the moment when someone has lived for 10^9 seconds.
exercism fetch elixir gigasecond
Calculate the moment when someone has lived for 109 seconds.
A gigasecond is 109 (1,000,000,000) seconds.
Execute the tests with:
$ elixir bob_test.exs
bob_test.exs with the name of the test file.)
In the test suites, all but the first test have been skipped.
Once you get a test passing, you can unskip the next one by
commenting out the relevant
@tag :pending with a
Or, you can enable all the tests by commenting out the
ExUnit.configure line in the test suite.
# ExUnit.configure exclude: :pending, trace: true
For more detailed information about the Elixir track, please see the help page.
Chapter 9 in Chris Pine's online Learn to Program tutorial. http://pine.fm/LearnToProgram/?Chapter=09
Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.