package main import ( "testing" ) func TestGetSquareRoot(t *testing.T) { got := getSquareRoot(49) want := 7 if got != want { t.Errorf("Got %v, wanted %v\n", got, want) } }