exercism

Exercism solutions.
git clone git://code.dwrz.net/exercism
Log | Files | Refs

README.md (1030B)


      1 # Gigasecond
      2 
      3 Calculate the moment when someone has lived for 10^9 seconds.
      4 
      5 A gigasecond is 10^9 (1,000,000,000) seconds.
      6 
      7 ## Running the tests
      8 
      9 To run the tests run the command `go test` from within the exercise directory.
     10 
     11 If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
     12 flags:
     13 
     14     go test -v --bench . --benchmem
     15 
     16 Keep in mind that each reviewer will run benchmarks on a different machine, with
     17 different specs, so the results from these benchmark tests may vary.
     18 
     19 ## Further information
     20 
     21 For more detailed information about the Go track, including how to get help if
     22 you're having trouble, please visit the exercism.io [Go language page](http://exercism.io/languages/go/resources).
     23 
     24 ## Source
     25 
     26 Chapter 9 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=09](http://pine.fm/LearnToProgram/?Chapter=09)
     27 
     28 ## Submitting Incomplete Solutions
     29 It's possible to submit an incomplete solution so you can see how others have completed the exercise.