primeiro commit com exercicios de Exercism realizados até esta data

This commit is contained in:
2026-10-17 22:10:27 +01:00
commit 58fccbe27a
708 changed files with 35038 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package raindrops
import "testing"
func TestConvert(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.description, func(t *testing.T) {
if actual := Convert(tc.input); actual != tc.expected {
t.Fatalf("Convert(%d) = %q, want: %q", tc.input, actual, tc.expected)
}
})
}
}
func BenchmarkConvert(b *testing.B) {
for b.Loop() {
for _, test := range testCases {
Convert(test.input)
}
}
}