tracks/go/exercises/series/README.md in trackler-2.2.1.177 vs tracks/go/exercises/series/README.md in trackler-2.2.1.178

- old
+ new

@@ -1,20 +1,20 @@ # Series Given a string of digits, output all the contiguous substrings of length `n` in -that string. +that string in the order that they appear. For example, the string "49142" has the following 3-digit series: -- 491 -- 914 -- 142 +- "491" +- "914" +- "142" And the following 4-digit series: -- 4914 -- 9142 +- "4914" +- "9142" And if you ask for a 6-digit series from a 5-digit string, you deserve whatever you get. Note that these series are only required to occupy *adjacent positions* @@ -66,13 +66,13 @@ ## Running the tests To run the tests run the command `go test` from within the exercise directory. -If the test suite contains benchmarks, you can run these with the `-bench` -flag: +If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem` +flags: - go test -bench . + go test -v --bench . --benchmem Keep in mind that each reviewer will run benchmarks on a different machine, with different specs, so the results from these benchmark tests may vary. ## Further information