tracks/go/exercises/sum-of-multiples/example.go in trackler-2.2.1.56 vs tracks/go/exercises/sum-of-multiples/example.go in trackler-2.2.1.57
- old
+ new
@@ -1,8 +1,6 @@
package summultiples
-const testVersion = 2
-
// SumMultiples returns the sum of the multiples of the given divisors
// up to, but not including, the given limit.
func SumMultiples(limit int, divisors ...int) (sum int) {
for i := 1; i < limit; i++ {
for _, d := range divisors {