tracks/go/exercises/difference-of-squares/example.go in trackler-2.0.6.41 vs tracks/go/exercises/difference-of-squares/example.go in trackler-2.0.6.42
- old
+ new
@@ -1,6 +1,8 @@
package diffsquares
+const testVersion = 1
+
func SquareOfSums(n int) int {
s := 0
for i := 0; i <= n; i++ {
s += i
}