1
exercism fetch groovy gigasecond

Gigasecond

Calculate the moment when someone has lived for 109 seconds.

A gigasecond is 109 (1,000,000,000) seconds.

For installation and learning resources, refer to the exercism help page.

Run the tests by executing the test script.

1
$ groovy ./GigasecondSpec.groovy

After the first test(s) pass, continue by commenting out or removing the @Ignore annotations prepending other tests.

When all tests pass, congratulations!

Source

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.