v0.4.0
update random seed in example test @mcalhoun (#7)
what
- update the random number generator with a seed
why
- The
rand
package generates pseudo-random numbers, which are generated based on a specific initial value (called "seed"). Without providing an initial seed value, you'll likely generate the same number over and over again, which defeats the purpose of using it here in the tests.
references
- Go math/rand