This commit is contained in:
2026-04-24 13:30:30 +03:00
parent b1ad76b383
commit 6d9a190e12
+11
View File
@@ -0,0 +1,11 @@
package mypkg
import "testing"
func TestAddition(t *testing.T) {
got := Add(1, 1)
want := 2
if got != want {
t.Errorf("Add(1, 1) = %d; want %d", got, want)
}
}